mirrored_repositories/flutter_proyects_in_2020/flutter_application/lib/src
class OrderStatus {
  String id;
  String status;

  OrderStatus();

  OrderStatus.fromJSON(Map<String, dynamic> jsonMap) {
    try {
      id = jsonMap['id'].toString();
      status = jsonMap['status'] != null ? jsonMap['status'] : '';
    } catch (e) {
      id = '';
      status = '';
      print(e);
    }
  }
}
