UnsignedInt class Null safety

The C unsigned int type.

Typically an unsigned 32-bit integer. For a guaranteed 32-bit integer, use Uint32 with the C uint32_t type. For a signed int, use Int.

The UnsignedInt type is a native type, and should not be constructed in Dart code. It occurs only in native type signatures and as annotation on Struct and Union fields.

Inheritance
Annotations
  • @Since('2.17')
  • @AbiSpecificIntegerMapping({Abi.androidArm : Uint32(), Abi.androidArm64 : Uint32(), Abi.androidIA32 : Uint32(), Abi.androidX64 : Uint32(), Abi.fuchsiaArm64 : Uint32(), Abi.fuchsiaX64 : Uint32(), Abi.iosArm : Uint32(), Abi.iosArm64 : Uint32(), Abi.iosX64 : Uint32(), Abi.linuxArm : Uint32(), Abi.linuxArm64 : Uint32(), Abi.linuxIA32 : Uint32(), Abi.linuxX64 : Uint32(), Abi.linuxRiscv32 : Uint32(), Abi.linuxRiscv64 : Uint32(), Abi.macosArm64 : Uint32(), Abi.macosX64 : Uint32(), Abi.windowsArm64 : Uint32(), Abi.windowsIA32 : Uint32(), Abi.windowsX64 : Uint32()})

Constructors

UnsignedInt()
const

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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