fromJson static method
Implementation
static QueueChannel fromJson(Map<String, dynamic> json) {
return QueueChannel(
queue: json['queue'] as String,
threadingMode: json['threading_mode'] as String?,
messageSchema: (json['message_schema'] as Map?)?.cast<String, dynamic>(),
annotations: json['annotations'] != null
? {for (final entry in (json['annotations'] as Map).entries) entry.key as String: entry.value as String}
: null,
);
}