toRecordValue abstract method

({Map<String, DartObject> named, List<DartObject> positional})? toRecordValue()

If this DartObject represents a record, returns the positional and named fields of that record.

If the object being represented is not a Record null is returned instead.

Implementation

({List<DartObject> positional, Map<String, DartObject> named})?
    toRecordValue();