TypeUfixed class

Inheritance

Constructors

TypeUfixed(int size, int precision)
factory
TypeUfixed.valueOf(String scheme)
factory

Properties

bitSize int
final
hashCode int
The hash code for this object.
no setteroverride
precision int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

byteLength() int
Precompute the byte size of the static ABI typed value @return the byte size of the ABI value @throws IllegalArgumentException if the ABI type is dynamic typed
override
decode(Uint8List encoded) Object
Decode ABI encoded byte array to dart values from ABI type schemes @param encoded byte array of ABI encoding @throws IllegalArgumentException if encoded byte array cannot match with ABI encoding rules
override
encode(dynamic obj) Uint8List
Encode values with ABI rules based on the ABI type schemes @return byte[] of ABI encoding @throws IllegalArgumentException if encoder cannot infer the type from obj
override
isDynamic() bool
Check if this ABI type is a dynamic type. Returns decision if the ABI type is dynamic.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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