toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (basePlanId != null) 'basePlanId': basePlanId!,
  if (offerId != null) 'offerId': offerId!,
  if (offerTags != null) 'offerTags': offerTags!,
  if (otherRegionsConfig != null) 'otherRegionsConfig': otherRegionsConfig!,
  if (packageName != null) 'packageName': packageName!,
  if (phases != null) 'phases': phases!,
  if (productId != null) 'productId': productId!,
  if (regionalConfigs != null) 'regionalConfigs': regionalConfigs!,
  if (state != null) 'state': state!,
  if (targeting != null) 'targeting': targeting!,
};