core.Map<core.String, core.dynamic> toJson() => { if (printerIds != null) 'printerIds': printerIds!, };