District.fromMap constructor
Implementation
factory District.fromMap(Map<String, dynamic> map) {
return District(
id: (map['id'].toInt() ?? 0) as int,
zoneid: (map['zoneid'].toInt() ?? 0) as int,
stateid: (map['stateid'].toInt() ?? 0) as int,
textEN: (map['text'] ?? '') as String,
textNP: (map['textNP'] ?? '') as String,
);
}