Order.fromJson constructor

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

Implementation

Order.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  createdAt = json['createdAt'];
  invoicePrefix = json['invoicePrefix'];
  invoiceStartNumber = json['invoiceStartNumber'];
  guestOrder = json['guestOrder'];
  canCreateOrder = json['canCreateOrder'];
  minimumCartAmount = json['minimumCartAmount'];
}