maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult bool(
    1. MyValue_Bool value
    )?,
  2. TResult string(
    1. MyValue_String value
    )?,
  3. TResult array(
    1. MyValue_Array value
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(MyValue_Bool value)? bool,
  TResult Function(MyValue_String value)? string,
  TResult Function(MyValue_Array value)? array,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;