isActivated property

  1. @override
bool get isActivated
override

Indicates whether this nucleus has been bound to a live Cell.

When to use

Debugging or diagnostic tools. You rarely need this in application code.

How it works

Returns true after activate has been called successfully.

Implementation

@override
bool get isActivated {
  try {
    receptor.cell;
    return true;
  } catch (_) {}
  return false;
}