State.fromJson constructor

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

Implementation

factory State.fromJson(Map<String, dynamic> json) => State(
      code: json["code"],
      name: json["name"],
    );