AlertStrategy.fromJson constructor
AlertStrategy.fromJson(
- Map json_
Implementation
AlertStrategy.fromJson(core.Map json_)
: this(
autoClose: json_.containsKey('autoClose')
? json_['autoClose'] as core.String
: null,
notificationChannelStrategy:
json_.containsKey('notificationChannelStrategy')
? (json_['notificationChannelStrategy'] as core.List)
.map((value) => NotificationChannelStrategy.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
notificationRateLimit: json_.containsKey('notificationRateLimit')
? NotificationRateLimit.fromJson(json_['notificationRateLimit']
as core.Map<core.String, core.dynamic>)
: null,
);