decodeAudioData property

Implementation

_i2.Future<_i3.AudioBuffer> Function(
  _i5.ByteBuffer, [
  _i3.DecodeSuccessCallback?,
  _i3.DecodeErrorCallback?,
]) get decodeAudioData => (
      _i5.ByteBuffer p0, [
      _i3.DecodeSuccessCallback? p1,
      _i3.DecodeErrorCallback? p2,
    ]) =>
        _i4.promiseToFuture(_i4.callMethod(
          _i4.getProperty(
            this,
            'decodeAudioData',
          ),
          r'call',
          [
            this,
            p0,
            p1 ?? _i6.undefined,
            p2 ?? _i6.undefined,
          ],
        ));

Implementation

set decodeAudioData(
    _i2.Future<_i3.AudioBuffer> Function(
      _i5.ByteBuffer, [
      _i3.DecodeSuccessCallback?,
      _i3.DecodeErrorCallback?,
    ]) value) {
  _i4.setProperty(
    this,
    'decodeAudioData',
    _i4.allowInterop(value),
  );
}