TransformationRule.fromJson constructor

TransformationRule.fromJson(
  1. Map json_
)

Implementation

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