ImageAnnotation constructor

ImageAnnotation({
  1. Area? areaRelativeInPcts,
  2. StringValue? annotation,
})

Implementation

factory ImageAnnotation({
  $0.Area? areaRelativeInPcts,
  $1.StringValue? annotation,
}) {
  final result = create();
  if (areaRelativeInPcts != null)
    result.areaRelativeInPcts = areaRelativeInPcts;
  if (annotation != null) result.annotation = annotation;
  return result;
}