CPDFEditArea.fromJson constructor
Implementation
factory CPDFEditArea.fromJson(Map<String, dynamic> json) {
return CPDFEditArea(
type: CPDFEditAreaType.values.firstWhere(
(e) => e.name == json['type'],
orElse: () => CPDFEditAreaType.none),
uuid: json['uuid'] ?? '',
page: json['page'] ?? 0,
);
}