Status1.fromJson constructor

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

Implementation

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