FloatDataType<L extends List<double>> class abstract

Inheritance
Implementers

Constructors

FloatDataType()
const

Properties

bits int
Returns the size of one value in bits.
no setterinherited
defaultValue double
Returns the default value, typically equivalent to the zero or null value.
no setteroverride
epsilon double
Returns the machine epsilon, that is the difference between 1 and the next larger floating point number.
no setter
equality Equality<double>
Returns an equality relation.
no setteroverride
field Field<double>
Returns a mathematical field, if available.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isNullable bool
Returns true, if this DataType supports null values.
no setterinherited
max double
Returns the maximum finite value of this value.
no setterinherited
min double
Returns the minimum finite value of this value.
no setterinherited
minPositive double
Returns the smallest positive value larger than zero.
no setter
name String
Returns the name of this DataType.
no setteroverride
nullable DataType<double?>
Returns a DataType that supports null values.
no setterinherited
printer → Printer<double>
Returns a default printer for this data type.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cast(dynamic value) double
Casts the argument to this data type, otherwise throw an ArgumentError.
override
castList(Iterable<Object?> elements) List<double>
Casts an existing iterable to this data type.
inherited
comparator(double a, double b) int
Returns a Comparator that compares one element to another.
override
copyList(Iterable<double> iterable, {int? length, double? fillValue, bool readonly = false}) List<double>
Creates a fixed-length list copy of the iterable, possibly with a modified length and if necessary populated with fillValue.
inherited
emptyList(int length) → L
Internal method to create an empty typed-list of the requested length.
inherited
newList(int length, {Map1<int, double>? generate, double? fillValue, bool readonly = false}) List<double>
Creates a fixed-length list of this data type.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readonlyList(L list) → L
Internal method to make the typed-list read-only.
inherited
toString() String
A string representation of this object.
inherited

Operators

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