toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (outOfPocketCost != null) 'outOfPocketCost': outOfPocketCost!,
      if (paybackYears != null) 'paybackYears': paybackYears!,
      if (rebateValue != null) 'rebateValue': rebateValue!,
      if (savings != null) 'savings': savings!,
      if (upfrontCost != null) 'upfrontCost': upfrontCost!,
    };