Document constructor
Document({})
Implementation
factory Document({
$core.String? name,
$core.Map<$core.String, Value>? fields,
$0.Timestamp? createTime,
$0.Timestamp? updateTime,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (fields != null) {
$result.fields.addAll(fields);
}
if (createTime != null) {
$result.createTime = createTime;
}
if (updateTime != null) {
$result.updateTime = updateTime;
}
return $result;
}