maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult legacy(
    1. CompiledMessageLegacy value
    )?,
  2. TResult v0(
    1. CompiledMessageV0 value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(CompiledMessageLegacy value)? legacy,
  TResult Function(CompiledMessageV0 value)? v0,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;