MuteInfo.fromJson constructor
MuteInfo.fromJson(
- Map json_
Implementation
MuteInfo.fromJson(core.Map json_)
: this(
dynamicMuteRecords:
(json_['dynamicMuteRecords'] as core.List?)
?.map(
(value) => DynamicMuteRecord.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
staticMute:
json_.containsKey('staticMute')
? StaticMute.fromJson(
json_['staticMute'] as core.Map<core.String, core.dynamic>,
)
: null,
);