Paper.fromJson constructor

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

Implementation

Paper.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  name = json['name'];
  width = json['width'];
  height = json['height'];
}