mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<TResult extends Object?>({
- TResult invalidApiKey(
- _InvalidApiKey value
- TResult noInternetConnection(
- _NoInternetConnection value
- TResult notFound(
- _NotFound value
- TResult unknown(
- _Unknown value
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult Function(_InvalidApiKey value)? invalidApiKey,
TResult Function(_NoInternetConnection value)? noInternetConnection,
TResult Function(_NotFound value)? notFound,
TResult Function(_Unknown value)? unknown,
}) =>
throw _privateConstructorUsedError;