# RecordDeclaration constructor

const RecordDeclaration()

Represents a reflected Dart record type.

A Dart record consists of zero or more positional fields and optionally named fields. This interface provides access to both positional and named components of the record in a structured and introspectable form.

## Example

    (int, String, {bool active}) record = (1, "hello", active: true);

    ReflectedRecord reflected = ...;
    reflected.getPositionalFields(); // returns field for int and String
    reflected.getNamedFields();      // returns map with 'active': bool

This type also implements TypeDeclaration, so it can be treated like any other reflected type (e.g., for kind, name, annotations, etc.).

## Implementation

    const RecordDeclaration();