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