toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (body != null) 'body': body!,
      if (filename != null) 'filename': filename!,
      if (headers != null) 'headers': headers!,
      if (mimeType != null) 'mimeType': mimeType!,
      if (partId != null) 'partId': partId!,
      if (parts != null) 'parts': parts!,
    };