value property Null safety

int value

The 32-bit two's complement integer at address.

A Dart integer is truncated to 32 bits (as if by .toSigned(32)) before being stored, and the 32-bit value is sign-extended when it is loaded.

The address must be 4-byte aligned.

Implementation

external int get value;
void value= (int value)

Implementation

external void set value(int value);