core.Map<core.String, core.dynamic> toJson() => { if (data != null) 'data': data!, if (mimeType != null) 'mimeType': mimeType!, };