toJson method
Implementation
Map<String, Object?> toJson() => <String, Object?>{
'requestId': requestId,
'statusCode': statusCode,
'contentType': contentType,
if (jsonBody != null) 'jsonBody': jsonBody,
if (bytesBase64 != null) 'bytesBase64': bytesBase64,
};