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