toListRecord function

ListRecord toListRecord(
  1. List<FieldDefinition> header,
  2. MapRecord mapRecord
)

Implementation

ListRecord toListRecord(List<FieldDefinition> header, MapRecord mapRecord) {
  return header.map((e) => mapRecord[e.name]).toList(growable: false);
}