AttributeRelationship.fromMap constructor
AttributeRelationship.fromMap(
- Map<String, dynamic> map
)
Implementation
factory AttributeRelationship.fromMap(Map<String, dynamic> map) {
return AttributeRelationship(
key: map['key'].toString(),
type: map['type'].toString(),
status: map['status'].toString(),
error: map['error'].toString(),
xrequired: map['required'],
array: map['array'],
relatedCollection: map['relatedCollection'].toString(),
relationType: map['relationType'].toString(),
twoWay: map['twoWay'],
twoWayKey: map['twoWayKey'].toString(),
onDelete: map['onDelete'].toString(),
side: map['side'].toString(),
);
}