memberValidation property
Gets or sets the predicate that determines whether or not a node may become a member of a group. This predicate is called in addition to any existing group's Group#memberValidation predicate. The default predicate is null, which is equivalent to simply returning true. The predicate may be called passing null as the first argument (the Group) -- this asks whether it is OK to make the second argument (the Part, but not a Link) a top-level Part of the diagram.
For a more general discussion of validation, see Introduction to Validation.
The function, if supplied, must not have any side-effects.
Implementation
_i2.bool Function(
  _i3.Group,
  _i3.Part,
)? get memberValidation => (
      _i3.Group p0,
      _i3.Part p1,
    ) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'memberValidation',
          ),
          r'call',
          [
            this,
            p0,
            p1,
          ],
        );