allocate<T extends NativeType> method
Allocates byteCount bytes of memory on the native heap.
The parameter alignment is ignored.
Implementation
@override
Pointer<T> allocate<T extends NativeType>(int byteCount, {int? alignment}) {
throw new UnsupportedError(
'Can not use the null memory to allocate space!');
}