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