Object? get result { var res = JS('Null|String|NativeByteBuffer', '#.result', this); if (res is ByteBuffer) { return new Uint8List.view(res); } return res; }