AttributeBoolean.fromMap constructor

AttributeBoolean.fromMap(
  1. Map<String, dynamic> map
)

Implementation

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