FetchDataState.error constructor

FetchDataState.error({
  1. dynamic generic = '',
})

Implementation

factory FetchDataState.error({generic = ''}) =>
    FetchDataState._(_factory.third(_Error(generic: generic)));