isRecord abstract method

bool isRecord()

Checks if this class represents a record type.

Returns:

  • true for record types (e.g., (int, String))
  • false for other types

Note: Available in Dart 3.0+ for positional and named records.

Implementation

bool isRecord();