whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>(
TResult? Function()? $default, {
TResult? Function(@JsonKey(name: "type") String type,
@JsonKey(name: "jsonString", toJson: modelToString) SpView model)?
sp,
TResult? Function(@JsonKey(name: "type") String type)? ping,
}) =>
throw _privateConstructorUsedError;