District class
Represents a district with details such as its name, province, and ID.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Unique identifier for the district.
final
- nameEn → String
-
The English name of the district.
final
- nameSi → String
-
The Sinhala name of the district.
final
- nameTa → String
-
The Tamil name of the district.
final
- provinceId → int
-
The ID of the province that the district belongs to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited