toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (costType != null) 'costType': costType!,
      if (feeAmount != null) 'feeAmount': feeAmount!,
      if (feePercentageMillis != null)
        'feePercentageMillis': feePercentageMillis!,
      if (feeType != null) 'feeType': feeType!,
      if (invoiceType != null) 'invoiceType': invoiceType!,
    };