Map<String, dynamic> toMap() { return <String, dynamic>{ 'printers': printers.map((x) => x.toMap()).toList(), }; }