fromMap static method
Implementation
static SettingsFieldSettingRead? fromMap(Object? body) {
final source = readRecord(body, envelopeKey: 'field_setting');
if (source == null) return null;
return SettingsFieldSettingRead(
createdBy: readAny(source['created_by']),
createdOn: readText(source['created_on']),
description: readAny(source['description']),
displayCode: readText(source['display_code']),
editable: readAny(source['editable']),
enabled: readFlag(source['enabled']),
entity: readText(source['entity']),
fieldName: readText(source['field_name']),
fieldType: readText(source['field_type']),
globalSearch: readFlag(source['global_search']),
groupKey: readText(source['group_key']),
href: readText(source['href']),
id: readText(source['id']),
lastUpdatedBy: readAny(source['last_updated_by']),
lastUpdatedOn: readText(source['last_updated_on']),
mandatory: readFlag(source['mandatory']),
note: readAny(source['note']),
object: readText(source['object']),
sortOrder: readInteger(source['sort_order']),
);
}