WaitReducer<St> typedef Null safety

WaitReducer<St> = St? Function(St? state, WaitOperation operation, Object? flag, Object? ref)

Implementation

typedef WaitReducer<St> = St? Function(
  St? state,
  WaitOperation operation,
  Object? flag,
  Object? ref,
);