Data.fromJson constructor

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

Implementation

Data.fromJson(Map<String, dynamic> json) {
  phone = json['phone'];
  auth_token = json['auth_token'];
  order_type = json['order_type'];
}