PrintQRCode.fromJson(Map<String, dynamic> json) { text = json['text']; width = json['width']; height = json['height']; position = json['position']; }