toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final cost = this.cost;
  final costInLocalCurrency = this.costInLocalCurrency;
  final duration = this.duration;
  return {
    'cost': ?cost,
    'costInLocalCurrency': ?costInLocalCurrency,
    'duration': ?duration,
  };
}