host property

Endian host
final

Implementation

static final Endian host =
    (new ByteData.view(new Uint16List.fromList([1]).buffer)).getInt8(0) == 1
        ? little
        : big