toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (kpiAlgorithmId != null) 'kpiAlgorithmId': kpiAlgorithmId!,
      if (kpiAmountMicros != null) 'kpiAmountMicros': kpiAmountMicros!,
      if (kpiPercentageMicros != null)
        'kpiPercentageMicros': kpiPercentageMicros!,
      if (kpiString != null) 'kpiString': kpiString!,
      if (kpiType != null) 'kpiType': kpiType!,
    };