whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(int statusCode, T data)? success,
TResult? Function(int? statusCode, Object? data)? failed,
}) =>
throw _privateConstructorUsedError;