Document constructor
Implementation
factory Document({
$core.String? text,
$core.String? model,
$core.Iterable<$core.MapEntry<$core.String, $11.Value>>? options,
}) {
final $result = create();
if (text != null) {
$result.text = text;
}
if (model != null) {
$result.model = model;
}
if (options != null) {
$result.options.addEntries(options);
}
return $result;
}