whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({})
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult Function()? loading,
TResult Function(Object? error)? error,
TResult Function(T value, bool isDone)? data,
}) =>
throw _privateConstructorUsedError;