AttributeEnum.fromMap constructor
Implementation
factory AttributeEnum.fromMap(Map<String, dynamic> map) {
return AttributeEnum(
key: map['key'].toString(),
type: map['type'].toString(),
status: map['status'].toString(),
error: map['error'].toString(),
xrequired: map['required'],
array: map['array'],
elements: map['elements'],
format: map['format'].toString(),
xdefault: map['default']?.toString(),
);
}