UpdateResult constructor
UpdateResult({})
Implementation
factory UpdateResult({
$fixnum.Int64? matchedCount,
$fixnum.Int64? modifiedCount,
$fixnum.Int64? upsertedCount,
$core.List<$core.int>? upsertedId,
}) {
final _result = create();
if (matchedCount != null) {
_result.matchedCount = matchedCount;
}
if (modifiedCount != null) {
_result.modifiedCount = modifiedCount;
}
if (upsertedCount != null) {
_result.upsertedCount = upsertedCount;
}
if (upsertedId != null) {
_result.upsertedId = upsertedId;
}
return _result;
}