host属性

Endian host
final

实现

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