DurationUnit class

A unit of duration.

OMH version 1.0 See duration-unit-value

Inheritance

Constructors

DurationUnit(String schemaValue)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaValue String
The schema enumeration value
getter/setter pairinherited

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

Constants

DAY → const String
HOUR → const String
MICROSECOND → const String
MILLISECOND → const String
MINUTE → const String
MONTH → const String
NANOSECOND → const String
PICOSECOND → const String
SECOND → const String
WEEK → const String
YEAR → const String