PDFMargin.fromJson constructor
Implementation
factory PDFMargin.fromJson(Map<String, dynamic> json) {
return PDFMargin(
top: json['top'] != null ? StringOrNum.fromJson(json['top']) : null,
bottom: json['bottom'] != null
? StringOrNum.fromJson(json['bottom'])
: null,
left: json['left'] != null ? StringOrNum.fromJson(json['left']) : null,
right: json['right'] != null ? StringOrNum.fromJson(json['right']) : null,
);
}