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