layer method

bool layer(
  1. CALayer layer$1, {
  2. required DartCGFloat shouldInheritContentsScale,
  3. required NSWindow fromWindow,
})

layer:shouldInheritContentsScale:fromWindow:

Implementation

bool layer(
  CALayer layer$1, {
  required DartCGFloat shouldInheritContentsScale,
  required NSWindow fromWindow,
}) {
  objc.checkOsVersionInternal(
    'NSObject.layer:shouldInheritContentsScale:fromWindow:',
    iOS: (true, null),
    macOS: (false, (10, 7, 0)),
  );
  return _objc_msgSend_1j82al4(
    this.ref.pointer,
    _sel_layer_shouldInheritContentsScale_fromWindow_,
    layer$1.ref.pointer,
    shouldInheritContentsScale,
    fromWindow.ref.pointer,
  );
}