mapOrNull<TResult extends Object?> method
Null safety
- {TResult initial(
- _PhotoInitialState value
- TResult inProgress(
- _PhotoInProgressState value
- TResult success(
- _PhotoSuccessState value
- TResult failure(
- _PhotoFailureState value
@optionalTypeArgs, inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult Function(_PhotoInitialState value)? initial,
TResult Function(_PhotoInProgressState value)? inProgress,
TResult Function(_PhotoSuccessState value)? success,
TResult Function(_PhotoFailureState value)? failure,
}) =>
throw _privateConstructorUsedError;