intent method

Future<void> intent(
  1. JIntent<T> intent
)

Handles a given JIntent to update the state.

Invokes the logic encapsulated in the intent and applies any state changes.

Implementation

Future<void> intent(JIntent<T> intent) => intent.invoke(this);