Document constructor
Implementation
factory Document({
$core.String? id,
$core.Map<$core.String, Value>? data,
$core.String? collection,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (data != null) {
_result.data.addAll(data);
}
if (collection != null) {
_result.collection = collection;
}
return _result;
}