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