RegionType enum
The enum RegionType
is defining a set of possible values for the type of a region. It has two
values: circle
and isochrone
. This enum can be used to represent the type of a region in an
application.
Values
- circle → const RegionType
-
In the
enum RegionType
,circle,
is defining one of the possible values for the type of a region. It represents the region type as "circle". - isochrone → const RegionType
-
In the
enum RegionType
,isochrone;
is defining one of the possible values for the type of a region. It represents the region type as "isochrone".
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
The function returns a string representation of a RegionType enum value.
@returns The
toString()
method is being overridden for an enum calledRegionType
. It returns a string representation of the enum value. If the enum value isRegionType.circle
, the method returns the string'circle'
. If the enum value isRegionType.isochrone
, the method returns the string'isochrone'
.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
RegionType> - A constant List of the values in this enum, in order of their declaration.