fromMap static method
Implementation
static ComponentCustomFormDataFirstColumnAttribute? fromMap(Object? body) {
final source = readRecord(body);
if (source == null) return null;
return ComponentCustomFormDataFirstColumnAttribute(
canEncrypt: readFlag(source['canEncrypt']),
description: readText(source['description']),
displayName: readText(source['displayName']),
enabled: readFlag(source['enabled']),
encryptData: readFlag(source['encryptData']),
entity: readAny(source['entity']),
fieldRequired: readFlag(source['fieldRequired']),
formMaxLengthInputed: readFlag(source['formMaxLengthInputed']),
formMinLengthInputed: readFlag(source['formMinLengthInputed']),
id: readInteger(source['id']),
ids: readInteger(source['ids']),
isRequired: readFlag(source['isRequired']),
isUnique: readFlag(source['isUnique']),
maxLength: readAny(source['maxLength']),
metaData: readText(source['metaData']),
minLength: readAny(source['minLength']),
name: readText(source['name']),
options: readList<ComponentCustomFormDataFirstColumnAttributeOption>(
source['options'],
ComponentCustomFormDataFirstColumnAttributeOption.fromMap),
position: readText(source['position']),
showInListView: readFlag(source['showInListView']),
timeFormat: readAny(source['timeFormat']),
type: readText(source['type']),
typeValue: readText(source['typeValue']),
validationMessage: readText(source['validationMessage']),
validationMessageRequired: readFlag(source['validationMessageRequired']),
value: readText(source['value']),
);
}