AutomationResourceSelector.fromJson constructor

AutomationResourceSelector.fromJson(
  1. Map json_
)

Implementation

AutomationResourceSelector.fromJson(core.Map json_)
    : this(
        targets: json_.containsKey('targets')
            ? (json_['targets'] as core.List)
                .map((value) => TargetAttribute.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );