isOperationGroupSame method
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);