map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult initial(
    1. Initial value
    ),
  2. required TResult loading(
    1. Loading value
    ),
  3. required TResult failure(
    1. Failure value
    ),
  4. required TResult success(
    1. Success value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(Initial value) initial,
  required TResult Function(Loading value) loading,
  required TResult Function(Failure value) failure,
  required TResult Function(Success value) success,
}) =>
    throw _privateConstructorUsedError;