CPDFRadioButtonWidget.fromJson constructor
CPDFRadioButtonWidget.fromJson(
- Map<String, dynamic> json
)
Implementation
factory CPDFRadioButtonWidget.fromJson(Map<String, dynamic> json) {
CPDFWidget common = CPDFWidget.fromJson(json);
return CPDFRadioButtonWidget(
type: common.type,
title: common.title,
page: common.page,
uuid: common.uuid,
createDate: common.createDate,
rect: common.rect,
borderColor: common.borderColor,
borderWidth: common.borderWidth,
fillColor: common.fillColor,
isChecked: json['isChecked'],
checkStyle: CPDFCheckStyle.fromString(json['checkStyle']),
checkColor: HexColor.fromHex(json['checkColor'] ?? '#000000')
);
}