toJson method

Map<String, dynamic> toJson()

Implementation

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