memberRemoved property

void Function(Group, Part)? get memberRemoved

Gets or sets the function that is called after a member Part has been removed from this Group. It is typically used to modify the appearance of the group. The first argument will be this Group. The second argument will be a Part, typically a Node, but may be a simple Part or a Link.

If the value is a function, that function must not modify any membership relationships. The member Part has already been removed -- trying to add it or adding or removing another member or the Group itself may produce undefined behavior.

The default value is null -- no function is called.

Implementation

void Function(
  _i3.Group,
  _i3.Part,
)? get memberRemoved => (
      _i3.Group p0,
      _i3.Part p1,
    ) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'memberRemoved',
          ),
          r'call',
          [
            this,
            p0,
            p1,
          ],
        );
set memberRemoved (void value(Group, Part)?)

Implementation

set memberRemoved(
    void Function(
      _i3.Group,
      _i3.Part,
    )? value) {
  _i4.setProperty(
    this,
    'memberRemoved',
    value == null ? _i5.undefined : _i4.allowInterop(value),
  );
}