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