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