State class

Represents a Malaysian state and its associated prayer zone codes.

Constructors

State.new({required String negeri, required List<String> zones})
Creates an instance of State.
State.fromJson(Map<String, dynamic> json)
Creates a State instance from a JSON map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
negeri String
The name of the state (e.g., "JOHOR").
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
zones List<String>
A list of prayer zone codes belonging to this state (e.g., "JHR01", "JHR02").
final

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