toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var temporaryAttachments = this.temporaryAttachments;

  final json = <String, Object?>{};
  json[r'temporaryAttachments'] =
      temporaryAttachments.map((i) => i.toJson()).toList();
  return json;
}