isOperationGroupSame method

bool isOperationGroupSame(
  1. TKey operationKey,
  2. Object? token
)

Whether the operation group at operationKey is identity-equal to the one captured by captureOperationGroupToken. False once the group has been replaced (re-expand cycle) or removed (animation settled). Pass null token to ask "was there ever one?" — always false on null.

Implementation

bool isOperationGroupSame(TKey operationKey, Object? token) =>
    token != null && identical(_operationGroups[operationKey], token);