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