Province class

Inheritance

Constructors

Province({required String name, required String nepali, required int id, required List<District> district})
Province.fromJson(String source)
factory
Province.fromMap(Map<String, dynamic> map)
factory

Properties

district List<District>
final
hashCode int
The hash code for this object.
no setteroverride
id int
final
name String
finalgetter/setter pairinherited-setteroverride-getter
nepali String
finalgetter/setter pairinherited-setteroverride-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? name, String? nepali, int? id, List<District>? district}) Province
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override