Route.fromJson constructor

Route.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Route.fromJson(Map<String, dynamic> json) => Route(
    estimation: Estimation.fromJson(json['estimation']),
    tx: json['tx'] != null ? RouteTx.fromJson(json['tx']) : null,
    prependedOperatingExpenseCost: json['prependedOperatingExpenseCost'],
    order: Order.fromJson(json['order']),
    fixFee: json['fixFee'],
    userPoints: json['userPoints']);