provideColorPresentations property

FutureOr<List<ColorPresentation>> Function(Color, dynamic, CancellationToken) get provideColorPresentations

Implementation

_i4.FutureOr<_i2.List<_i3.ColorPresentation>> Function(
  _i3.Color,
  _i2.dynamic,
  _i3.CancellationToken,
) get provideColorPresentations => (
      _i3.Color p0,
      _i2.dynamic p1,
      _i3.CancellationToken p2,
    ) =>
        _i5.callMethod(
          _i5.getProperty(
            this,
            'provideColorPresentations',
          ),
          r'call',
          [
            this,
            p0,
            p1,
            p2,
          ],
        );
set provideColorPresentations (FutureOr<List<ColorPresentation>> value(Color, dynamic, CancellationToken))

Implementation

set provideColorPresentations(
    _i4.FutureOr<_i2.List<_i3.ColorPresentation>> Function(
      _i3.Color,
      _i2.dynamic,
      _i3.CancellationToken,
    ) value) {
  _i5.setProperty(
    this,
    'provideColorPresentations',
    _i5.allowInterop((
      p0,
      p1,
      p2,
    ) =>
        _i6.Promise.futureOr(() => value(
              p0,
              p1,
              p2,
            ))),
  );
}