ActiveType extension type

Extension type for Active

on
Implemented types
Available extensions

Constructors

ActiveType(bool _value)

Properties

address Pointer<Never>

Available on bool, provided by the BoolAddress extension

The memory address of the underlying data.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS JSBoolean

Available on bool, provided by the BoolToJSBoolean extension

Converts this bool to a JSBoolean.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns either "true" for true and "false" for false.
inherited

Operators

operator &(bool other) bool
The logical conjunction ("and") of this and other.
inherited
operator ==(Object other) bool
The equality operator.
inherited
operator ^(bool other) bool
The logical exclusive disjunction ("exclusive or") of this and other.
inherited
operator |(bool other) bool
The logical disjunction ("inclusive or") of this and other.
inherited

Static Methods

parse(Object? data) ActiveType
Parses source as an, optionally case-insensitive, boolean literal.
override
safeParse(Object? data) → SchemaResult<ActiveType>