when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult invalidApiKey(),
- required TResult noInternetConnection(),
- required TResult notFound(),
- required TResult unknown(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() invalidApiKey,
required TResult Function() noInternetConnection,
required TResult Function() notFound,
required TResult Function() unknown,
}) =>
throw _privateConstructorUsedError;