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