toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (autoRenewingBasePlanType != null)
    'autoRenewingBasePlanType': autoRenewingBasePlanType!,
  if (basePlanId != null) 'basePlanId': basePlanId!,
  if (installmentsBasePlanType != null)
    'installmentsBasePlanType': installmentsBasePlanType!,
  if (offerTags != null) 'offerTags': offerTags!,
  if (otherRegionsConfig != null) 'otherRegionsConfig': otherRegionsConfig!,
  if (prepaidBasePlanType != null)
    'prepaidBasePlanType': prepaidBasePlanType!,
  if (regionalConfigs != null) 'regionalConfigs': regionalConfigs!,
  if (state != null) 'state': state!,
};