maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult createResult(
    1. UApplyWritesResultCreateResult value
    )?,
  2. TResult updateResult(
    1. UApplyWritesResultUpdateResult value
    )?,
  3. TResult deleteResult(
    1. UApplyWritesResultDeleteResult value
    )?,
  4. TResult unknown(
    1. UApplyWritesResultUnknown value
    )?,
  5. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(UApplyWritesResultCreateResult value)? createResult,
  TResult Function(UApplyWritesResultUpdateResult value)? updateResult,
  TResult Function(UApplyWritesResultDeleteResult value)? deleteResult,
  TResult Function(UApplyWritesResultUnknown value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;