FloatDataType class abstract

Inheritance
Implementers

Constructors

FloatDataType()
const

Properties

bits int
Returns the size in bits of this float.
no setter
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 float.
no setter
min double
Returns the minimum finite value of this float.
no setter
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 list to this data type.
inherited
comparator(double a, double b) int
Returns a Comparator that compares one element to another.
override
copyList(Iterable<double> list, {int? length, double? fillValue}) List<double>
Creates a fixed-length list copy of this data type, possibly with a modified length and if necessary populated with fillValue.
inherited
newList(int length, [double? fillValue]) List<double>
Creates a fixed-length list of this data type.
override
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