TransformationRule.fromJson constructor

TransformationRule.fromJson(
  1. Map json_
)

Implementation

TransformationRule.fromJson(core.Map json_)
  : this(
      description: json_['description'] as core.String?,
      fieldActions:
          (json_['fieldActions'] as core.List?)
              ?.map(
                (value) => TransformationRuleAction.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      resourceFilter:
          json_.containsKey('resourceFilter')
              ? ResourceFilter.fromJson(
                json_['resourceFilter']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );