Macro.fromJson constructor
Macro.fromJson(
- Map json_
Implementation
Macro.fromJson(core.Map json_)
: this(
accountId: json_['accountId'] as core.String?,
containerId: json_['containerId'] as core.String?,
disablingRuleId: (json_['disablingRuleId'] as core.List?)
?.map((value) => value as core.String)
.toList(),
enablingRuleId: (json_['enablingRuleId'] as core.List?)
?.map((value) => value as core.String)
.toList(),
fingerprint: json_['fingerprint'] as core.String?,
macroId: json_['macroId'] as core.String?,
name: json_['name'] as core.String?,
notes: json_['notes'] as core.String?,
parameter: (json_['parameter'] as core.List?)
?.map((value) => Parameter.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList(),
parentFolderId: json_['parentFolderId'] as core.String?,
scheduleEndMs: json_['scheduleEndMs'] as core.String?,
scheduleStartMs: json_['scheduleStartMs'] as core.String?,
type: json_['type'] as core.String?,
);