Attaches this state to the given context.
context
void attach(Context context) => _internalState.attach(context);