Int32DataType class

Inheritance

Constructors

Int32DataType()
const

Properties

bits → int
Returns the size of one value in bits.
no setter
defaultValue → int
Returns the default value, typically equivalent to the zero or null value.
no setterinherited
equality → Equality<int>
Returns an equality relation.
no setterinherited
field → Field<int>
Returns a mathematical field, if available.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
isNullable → bool
Returns true, if this DataType supports null values.
no setterinherited
isSigned → bool
Returns the true, if this integer is signed.
no setteroverride
max → int
Returns the maximum finite value of this value.
no setter
min → int
Returns the minimum finite value of this value.
no setter
name → String
Returns the name of this DataType.
no setterinherited
nullable → DataType<int?>
Returns a DataType that supports null values.
no setterinherited
printer → Printer<int>
Returns a default printer for this data type.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
safeBits → int
Returns the safe bits of an integer value. In the Dart VM integer are represented using 63 bits and a sign, in JavaScript we only have 53.
no setterinherited
safeMax → int
Returns the maximum safe value of this integer.
no setterinherited
safeMin → int
Returns the minimum safe value of this integer.
no setterinherited

Methods

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

Operators

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