RecordClass constructor

RecordClass(
  1. Map? fields
)

Implementation

RecordClass(Map? fields)
    : _fields = Map<String, dynamic>.from(fields ?? {}).entries.toList()
        ..sort(
          (a, b) => idlLabelToId(a.key).toInt() - idlLabelToId(b.key).toInt(),
        );