Padding.fromJson constructor

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

Implementation

Padding.fromJson(Map<String, dynamic> json) {
  left = json['left'] == null ? null : json['left'].toDouble();
  right = json['right'] == null ? null : json['right'].toDouble();
  top = json['top'] == null ? null : json['top'].toDouble();
  bottom = json['bottom'] == null ? null : json['bottom'].toDouble();
}