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