SubRegion class

A class that represents a subregion of the world.

The SubRegion class is an abstract class that represents a subregion of the world. It extends the Region class, which represents a region of the world. It consists of a String value that represents the name of the subregion. The name field is required and must not be empty.

Inheritance
Implementers

Constructors

SubRegion({required String name})
Creates a new SubRegion object with the given name.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the region.
finalinherited
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({bool short = true}) String
A string representation of this object.
inherited

Operators

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