createNestedRecord method

Record createNestedRecord(
  1. String name
)

Creates a nested Record with the specified name.

Implementation

Record createNestedRecord(String name){
  RecordSchema? schema = _nestedRecordSchemata[name];
  if(schema == null){
    throw Exception("Schema is not defined.name=$name");
  }
  Record record =  Record(schema);
  record.dataSet = this;
  return record;
}