provideFileDecoration property

FutureOr<FileDecoration> Function(Uri, CancellationToken) get provideFileDecoration

Implementation

_i4.FutureOr<_i3.FileDecoration> Function(
  _i3.Uri,
  _i3.CancellationToken,
) get provideFileDecoration => (
      _i3.Uri p0,
      _i3.CancellationToken p1,
    ) =>
        _i5.callMethod(
          _i5.getProperty(
            this,
            'provideFileDecoration',
          ),
          r'call',
          [
            this,
            p0,
            p1,
          ],
        );
set provideFileDecoration (FutureOr<FileDecoration> value(Uri, CancellationToken))

Implementation

set provideFileDecoration(
    _i4.FutureOr<_i3.FileDecoration> Function(
      _i3.Uri,
      _i3.CancellationToken,
    ) value) {
  _i5.setProperty(
    this,
    'provideFileDecoration',
    _i5.allowInterop((
      p0,
      p1,
    ) =>
        _i6.Promise.futureOr(() => value(
              p0,
              p1,
            ))),
  );
}