getOrFail method
Implementation
@override
FutureOr<Map<String, dynamic>> getOrFail(
String key, {
Exception Function()? onFail,
}) =>
store[key] as Map<String, dynamic>? ??
(throw (onFail?.call() ?? Exception('Key $key not found')));
@override
FutureOr<Map<String, dynamic>> getOrFail(
String key, {
Exception Function()? onFail,
}) =>
store[key] as Map<String, dynamic>? ??
(throw (onFail?.call() ?? Exception('Key $key not found')));