whenOrNull<TResult extends Object?> method

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