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