Order.fromJson constructor

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

Implementation

factory Order.fromJson(Map<String, dynamic> json) => Order(
      amount: json["amount"] == null ? null : json["amount"],
    );