toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (costs != null) 'costs': costs!,
      if (currencyCode != null) 'currencyCode': currencyCode!,
      if (id != null) 'id': id!,
      if (revenue != null) 'revenue': revenue!,
      if (taxes != null) 'taxes': taxes!,
    };