fromJson static method
Implementation
static EmailChannel fromJson(Map<String, dynamic> json) {
return EmailChannel(
address: json['address'] as String,
private: (json['private'] as bool?) ?? true,
annotations: json['annotations'] != null
? {for (final entry in (json['annotations'] as Map).entries) entry.key as String: entry.value as String}
: null,
);
}