fromJson static method
Implementation
static CPDFAnnotation fromJson(Map<String, dynamic> json) {
final type = CPDFAnnotationType.fromString(json['type']);
final factory = _factories[type] ?? CPDFAnnotation.fromJson;
return factory(json);
}
static CPDFAnnotation fromJson(Map<String, dynamic> json) {
final type = CPDFAnnotationType.fromString(json['type']);
final factory = _factories[type] ?? CPDFAnnotation.fromJson;
return factory(json);
}