toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final cost = this.cost;
  final currencyCode = this.currencyCode;
  final id = this.id;
  final revenue = this.revenue;
  final tax = this.tax;
  return {
    'cost': ?cost,
    'currencyCode': ?currencyCode,
    'id': ?id,
    'revenue': ?revenue,
    'tax': ?tax,
  };
}