anchorAttributeForOrientation method

NSLayoutAttribute anchorAttributeForOrientation(
  1. NSLayoutConstraintOrientation orientation
)

anchorAttributeForOrientation:

Implementation

NSLayoutAttribute anchorAttributeForOrientation(
  NSLayoutConstraintOrientation orientation,
) {
  objc.checkOsVersionInternal(
    'NSWindow.anchorAttributeForOrientation:',
    iOS: (true, null),
  );
  final _ret = _objc_msgSend_1ghetxo(
    this.ref.pointer,
    _sel_anchorAttributeForOrientation_,
    orientation.value,
  );
  return NSLayoutAttribute.fromValue(_ret);
}