City class
Represents a city with its details.
Constructors
Properties
- area → String
-
Area of the city as a string.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Name of the city.
final
- population → String
-
Population of the city as a string.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tehsils
↔ List<
String> -
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, String> - Converts the City object into a Map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited