factory PrinterConnectionFailed.fromJson(Map<String, dynamic> json) { return PrinterConnectionFailed(json['address']); }