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