MessageRoutingAttachment.fromJson constructor
MessageRoutingAttachment.fromJson(
- JsonMap json
Decodes a routed attachment from JSON.
Implementation
factory fromJson(JsonMap json) => MessageRoutingAttachment(
filename: json['filename'] as String? ?? '',
contentType: json['content_type'] as String? ?? '',
contentId: json['content_id'] as String? ?? '',
disposition: json['disposition'] as String? ?? '',
data: json['data'] as String? ?? '',
raw: json,
);