CPDFKeywordConfig.fromJson constructor

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

Implementation

factory CPDFKeywordConfig.fromJson(Map<String, dynamic> json) {
  return CPDFKeywordConfig(
    borderColor: HexColor.fromHex(json['borderColor']),
    fillColor:  HexColor.fromHex(json['fillColor']),
  );
}