Status.fromJson constructor

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

Implementation

Status.fromJson(Map<String, dynamic> json) {
  if (json["id"] is int) {
    id = json["id"];
  }
  if (json["label"] is String) {
    label = json["label"];
  }
  if (json["count"] is int) {
    count = json["count"];
  }
}