StatesAndLgaResponse.fromJson constructor
Implementation
StatesAndLgaResponse.fromJson(Map<String, dynamic> json) {
if (json['states'] != null) {
states = <States>[];
json['states'].forEach((v) {
states!.add(new States.fromJson(v));
});
}
}