CPDFCircleAnnotations.fromJson constructor

CPDFCircleAnnotations.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CPDFCircleAnnotations.fromJson(Map<String, dynamic> json) {
    final square = CPDFSquareAnnotation.fromJson(json);
    return CPDFCircleAnnotations(
        type: square.type,
        title: square.title,
        page: square.page,
        content: square.content,
        uuid: square.uuid,
        createDate: square.createDate,
        rect: square.rect,
        borderWidth: square.borderWidth,
        borderColor: square.borderColor,
        borderAlpha: square.borderAlpha,
        fillColor: square.fillColor,
        fillAlpha: square.fillAlpha,
        effectType: square.effectType,
    );
}