ChannelGrouping.fromJson constructor
ChannelGrouping.fromJson(
- Map json_
Implementation
ChannelGrouping.fromJson(core.Map json_)
: this(
fallbackName: json_.containsKey('fallbackName')
? json_['fallbackName'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
rules: json_.containsKey('rules')
? (json_['rules'] as core.List)
.map((value) => ChannelGroupingRule.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);