when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>(
  1. TResult $default(), {
  2. required TResult sp(
    1. String type,
    2. SpView model
    ),
  3. required TResult ping(
    1. 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;