MessageAnnotation constructor
MessageAnnotation({
- Iterable<
AnnotatedMessagePart> ? parts, - bool? containEntities,
Implementation
factory MessageAnnotation({
$core.Iterable<AnnotatedMessagePart>? parts,
$core.bool? containEntities,
}) {
final _result = create();
if (parts != null) {
_result.parts.addAll(parts);
}
if (containEntities != null) {
_result.containEntities = containEntities;
}
return _result;
}