StateInfo.fromJson constructor

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

Implementation

factory StateInfo.fromJson(Map<String, dynamic> json) {
  return StateInfo(json['name'], json['title']);
}