CPDFUiFormPreviewStyle.fromJson constructor
Implementation
factory CPDFUiFormPreviewStyle.fromJson(Map<String, dynamic> json) =>
CPDFUiFormPreviewStyle(
style: _parseFormPreviewStyleType(json['style']),
strokeWidth: (json['strokeWidth'] as num?)?.toDouble() ?? 2,
color: HexColor.fromHex(json['color']),
);