fromJson method

dynamic fromJson(
  1. Map<String, dynamic> jsonRes
)

Implementation

fromJson(Map<String, dynamic> jsonRes) {
  this.id = jsonRes['id'] as String;
  this.label = jsonRes['label'] as String;
  return this;
}