mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<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
    )?,
})
inherited

Implementation

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