toJson method

  1. @override
Map<String, dynamic> toJson()
override

Returns a Map representing this ImageAttachment.

Implementation

@override
Map<String, dynamic> toJson() =>
    _$ImageAttachmentToJson(this)..['runtimeType'] = 'ImageAttachment';