Timespan class Null safety

Inheritance

Properties

hashCode int
The hash code for this object.
read-onlyinherited
name String
This enum's name, as specified in the .proto file.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
value int
This enum's integer value, as specified in the .proto file.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
Returns this enum's name or the value if names are not represented.
inherited

Operators

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

Static Methods

valueOf(int value) Timespan?

Constants

INVALID_TIMESPAN → const Timespan
Timespan._(0, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'INVALID_TIMESPAN')
TIMESPAN_ALL → const Timespan
Timespan._(5, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'TIMESPAN_ALL')
TIMESPAN_DAY → const Timespan
Timespan._(1, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'TIMESPAN_DAY')
TIMESPAN_MONTH → const Timespan
Timespan._(3, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'TIMESPAN_MONTH')
TIMESPAN_WEEK → const Timespan
Timespan._(2, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'TIMESPAN_WEEK')
TIMESPAN_YEAR → const Timespan
Timespan._(4, const $core.bool.fromEnvironment('protobuf.omit_enum_names') ? '' : 'TIMESPAN_YEAR')
values → const List<Timespan>
<Timespan>[INVALID_TIMESPAN, TIMESPAN_DAY, TIMESPAN_WEEK, TIMESPAN_MONTH, TIMESPAN_YEAR, TIMESPAN_ALL]