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