DatumAnnotation.from constructor

DatumAnnotation.from(
  1. DatumAnnotation other, [
  2. double? startPosition,
  3. double? endPosition
])

Implementation

factory DatumAnnotation.from(DatumAnnotation other,
    [double? startPosition, double? endPosition]) {
  return DatumAnnotation(
      startPosition: startPosition ?? other.startPosition,
      endPosition: endPosition ?? other.endPosition,
      axisType: other.axisType);
}