NotificationConfiguration.fromJson constructor
Implementation
factory NotificationConfiguration.fromJson(Map<String, dynamic> json) {
return NotificationConfiguration(
channels: (json['channels'] as List?)
?.whereNotNull()
.map((e) => Channel.fromJson(e as Map<String, dynamic>))
.toList(),
);
}