createPattern property

CanvasPattern? Function(Object, [String?]) get createPattern

Implementation

_i3.CanvasPattern? Function(
  _i2.Object, [
  _i2.String?,
]) get createPattern => (
      _i2.Object p0, [
      _i2.String? p1,
    ]) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'createPattern',
          ),
          r'call',
          [
            this,
            p0,
            p1 ?? _i6.undefined,
          ],
        );
set createPattern (CanvasPattern? value(Object, [String?]))

Implementation

set createPattern(
    _i3.CanvasPattern? Function(
      _i2.Object, [
      _i2.String?,
    ]) value) {
  _i4.setProperty(
    this,
    'createPattern',
    _i4.allowInterop((
      p0,
      p1,
    ) =>
        () =>
            value(
              p0,
              p1,
            ) ??
            _i6.undefined),
  );
}