District.fromJson constructor

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

Implementation

factory District.fromJson(Map<String, dynamic> json) => District(
      id: json['id'] as int?,
      zoneid: json['zoneid'] as int?,
      stateid: json['stateid'] as int?,
      text: json['text'] as String?,
      textNp: json['textNP'] as String?,
    );