AnnotatedMessagePart constructor

AnnotatedMessagePart({
  1. String? text,
  2. String? entityType,
  3. Value? formattedValue,
})

Implementation

factory AnnotatedMessagePart({
  $core.String? text,
  $core.String? entityType,
  $18.Value? formattedValue,
}) {
  final _result = create();
  if (text != null) {
    _result.text = text;
  }
  if (entityType != null) {
    _result.entityType = entityType;
  }
  if (formattedValue != null) {
    _result.formattedValue = formattedValue;
  }
  return _result;
}