CountryBean.fromJson constructor

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

Implementation

CountryBean.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  name = json['name'];
  callCode = json['call_code'];
  cncode = json['cncode'];
  createdAt = json['created_at'];
  updatedAt = json['updated_at'];
  text = json['text'];
}