unhandled method

void unhandled({
  1. _MessageActionWithData<M, D>? action,
})

Implementation

void unhandled({_MessageActionWithData<M, D>? action}) {
  _handler = _StayOrUnhandledDescriptor.createForMessageAndData<M, D>(
    _forState,
    action,
    action?.label,
    _messageName,
    handled: true,
  );
}