result property Null safety

TResult? result

retrieve action result after dispatching. An error will be thrown when trying access this prop before dispatching

Implementation

TResult? get result => dispatcher.result as TResult;