DataFieldItem.fromMap constructor

DataFieldItem.fromMap(
  1. Map m, {
  2. String? id,
  3. String? label,
  4. String? value,
  5. String? type,
})

Implementation

DataFieldItem.fromMap(Map<dynamic, dynamic> m,
    {String? id, String? label, String? value, String? type}) {
  //
  keys(id: id, label: label, value: value, type: type);

  this.id = m[_id];
  this.label = m[_label];
  this.value = m[_value];
  this.type = m[_type];
}