fromMap static method
Implementation
static SettingsCustomLogicScriptSaved? fromMap(Object? body) {
final source = readRecord(body, envelopeKey: 'custom_logic_script');
if (source == null) return null;
return SettingsCustomLogicScriptSaved(
actionName: readText(source['action_name']),
createdBy: readAny(source['created_by']),
createdOn: readText(source['created_on']),
description: readAny(source['description']),
displayName: readText(source['display_name']),
href: readText(source['href']),
id: readText(source['id']),
lastUpdatedBy: readAny(source['last_updated_by']),
lastUpdatedOn: readText(source['last_updated_on']),
name: readText(source['name']),
object: readText(source['object']),
objectName: readText(source['object_name']),
status: readText(source['status']),
type: readText(source['type']),
code: readAny(source['code']),
);
}