FoulsModel.fromMap constructor
Implementation
factory FoulsModel.fromMap(Map<String, dynamic> json) => FoulsModel(
id: json["id"],
reason: json["reason"],
orderId: json["order_id"],
createdAt: json["created_at"] == null ? null : DateTime.parse(json["created_at"]).toLocal(),
);