useReducer static method

List useReducer(
  1. Function reducer,
  2. dynamic initialState, [
  3. Function? init
])

Implementation

external static List<dynamic> useReducer(Function reducer, dynamic initialState, [Function? init]);