asyncGetResult method

Uint8List? asyncGetResult(
  1. int requestId, {
  2. int? maxBufferBytes,
  3. int? initialBufferBytes,
})
inherited

Retrieves binary result for a completed async request.

Implementation

Uint8List? asyncGetResult(
  int requestId, {
  int? maxBufferBytes,
  int? initialBufferBytes,
}) =>
    _captureSync(
      'asyncGetResult',
      () => _native.asyncGetResult(
        requestId,
        maxBufferBytes: maxBufferBytes,
        initialBufferBytes: initialBufferBytes,
      ),
      failed: (value) => value == null,
    );