PatchCodeParams.fromJson(Map<String, dynamic> json) { extraBarcodeText = json['extraBarcodeText']; patchFormat = PatchFormat.fromJson(json['patchFormat']); }