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