setRecordListSchema method

void setRecordListSchema(
  1. RecordSchema schema, [
  2. String? name
])

Define the schema of the list part RecordList, which is a two-dimensional data structure.

If name is not specified, it is treated as an unnamed list.

Implementation

void setRecordListSchema(RecordSchema schema,[String? name]){
  RecordList recordList = RecordList(schema);
  recordList.dataSet = this;
  _recordLists[name] = recordList;
}