SubRegion class sealed
Represents a named subdivision of a Continent.
A SubRegion describes geographical areas such as "Central America" or "Western Europe". Each subregion belongs to a single continent and is modeled as an immutable value object.
Constructors
- SubRegion.fromName(String name)
-
Finds a subregion that matches the provided
name(case-insensitive).factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
{bool short = true}) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited