fromMap method

RecordList fromMap(
  1. List? list
)

Copies the value of the specified List to this RecordList.

Implementation

RecordList fromMap(List<dynamic>? list){
  if(list == null){
    return this;
  }
  list.forEach(
    (value){
      Record rec = createRecord();
      rec.fromMap(value);
      add(rec);
    }
  );
  return this;
}