Level enum

格式化等级

Inheritance

Constructors

Level(String name)
const

Values

day → const Level

const Level('天')
hour → const Level

小时

const Level('小时')
minute → const Level

const Level('分')
second → const Level

const Level('秒')
millisecond → const Level

毫秒

const Level('毫秒')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String
单位名称
final
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() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<Level>
A constant List of the values in this enum, in order of their declaration.