host property

Endian host
final

Implementation

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