whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? bool(
    1. bool field0
    )?,
  2. TResult? string(
    1. String field0
    )?,
  3. TResult? array(
    1. List<MyValue> field0
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(bool field0)? bool,
  TResult? Function(String field0)? string,
  TResult? Function(List<MyValue> field0)? array,
}) =>
    throw _privateConstructorUsedError;