TriggerEntity.fromJson constructor

TriggerEntity.fromJson(
  1. Map json_
)

Implementation

TriggerEntity.fromJson(core.Map json_)
    : this(
        customFeatures: json_.containsKey('customFeatures')
            ? json_['customFeatures'] as core.Map<core.String, core.dynamic>
            : null,
        name: json_['name'] as core.String?,
        sqlCode: json_['sqlCode'] as core.String?,
        triggerType: json_['triggerType'] as core.String?,
        triggeringEvents: (json_['triggeringEvents'] as core.List?)
            ?.map((value) => value as core.String)
            .toList(),
      );