NPadding.fromJson constructor
Implementation
factory NPadding.fromJson(Map<String, dynamic> json) {
return NPadding(
top: json['top']?.toDouble() ?? 0.0,
right: json['right']?.toDouble() ?? 0.0,
bottom: json['bottom']?.toDouble() ?? 0.0,
left: json['left']?.toDouble() ?? 0.0,
);
}