State class

Constructors

State({required String motto, required int stateId, required String name, required String capital, required int numberOfLocalGovernments})
const

Properties

capital String
The capital of the state
final
hashCode int
The hash code for this object.
no setterinherited
motto String
The motto of the state or region
final
name String
The name of the state
final
numberOfLocalGovernments int
The number of local governments in the state
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateId int
The id of the state
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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