ChannelGroupingRule.fromJson constructor

ChannelGroupingRule.fromJson(
  1. Map json_
)

Implementation

ChannelGroupingRule.fromJson(core.Map json_)
    : this(
        disjunctiveMatchStatements:
            json_.containsKey('disjunctiveMatchStatements')
                ? (json_['disjunctiveMatchStatements'] as core.List)
                    .map((value) => DisjunctiveMatchStatement.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );