Allocation.fromJson constructor

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

Implementation

factory Allocation.fromJson(Map<String, dynamic> json) {
  return Allocation(id: json["id"], limit: json["limit"]);
}