toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (acceleratorType != null) 'acceleratorType': acceleratorType!,
      if (amount != null) 'amount': amount!,
      if (type != null) 'type': type!,
    };