JSTemporalPlainTime class

Inheritance
Available extensions

Constructors

JSTemporalPlainTime({required int hour, required int minute, required int second, int millisecond = 0, int microsecond = 0, int nanosecond = 0})

Properties

asRegExp → JSRegExp

Available on JSValue, provided by the JSValueRegExpExtension extension

Cast to JSRegExp (throws an error if it's not a RegExp)
no setter
hashCode → int
The hash code for this object.
no setterinherited
hour → int
final
isBigInt → bool
no setterinherited
isBoolean → bool
no setterinherited
isFalsy → bool
Check if value is "falsy"
no setterinherited
isFunction → bool
no setterinherited
isNull → bool
no setterinherited
isNumber → bool
no setterinherited
isObject → bool
no setterinherited
isPrimitive → bool
Check if value is "primitive" (non-object)
no setterinherited
isRegExp → bool

Available on JSValue, provided by the JSValueRegExpExtension extension

Check if this value is a RegExp
no setter
isString → bool
no setterinherited
isSymbol → bool
no setterinherited
isTruthy → bool
Check if value is "truthy"
no setterinherited
isUndefined → bool
Type checks
no setterinherited
microsecond → int
final
millisecond → int
final
minute → int
final
nanosecond → int
final
primitiveValue → dynamic
Get the underlying primitive value
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
second → int
final
type → JSValueType
no setteroverride

Methods

add(int hours, int minutes, int seconds, int ms) → JSTemporalPlainTime
compare(JSTemporalPlainTime other) → int
equals(JSValue other) → bool
Comparison operations
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
strictEquals(JSValue other) → bool
override
subtract(int hours, int minutes, int seconds, int ms) → JSTemporalPlainTime
toBoolean() → bool
JavaScript type conversions (coercion)
override
toNumber() → double
override
toObject() → JSObject
override
toString() → String
A string representation of this object.
override

Operators

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