WChar class Null safety

The C wchar_t type.

The signedness of wchar_t is undefined in C. Here, it is exposed as the defaults on the tested Abis.

The WChar 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 : Int32(), Abi.iosArm : Int32(), Abi.iosArm64 : Int32(), Abi.iosX64 : Int32(), Abi.linuxArm : Uint32(), Abi.linuxArm64 : Uint32(), Abi.linuxIA32 : Int32(), Abi.linuxX64 : Int32(), Abi.linuxRiscv32 : Int32(), Abi.linuxRiscv64 : Int32(), Abi.macosArm64 : Int32(), Abi.macosX64 : Int32(), Abi.windowsArm64 : Uint16(), Abi.windowsIA32 : Uint16(), Abi.windowsX64 : Uint16()})

Constructors

WChar()
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