layer method
bool
layer(
- CALayer layer$1, {
- required DartCGFloat shouldInheritContentsScale,
- 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,
);
}