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