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