Line data Source code
1 : // Copyright 2023 The terCAD team. All rights reserved. 2 : // Use of this source code is governed by a CC BY-NC-ND 4.0 license that can be found in the LICENSE file. 3 : 4 : class WebDavData { 5 : final String link; 6 : final String username; 7 : final String password; 8 : final String path; 9 : 10 0 : WebDavData({ 11 : required this.link, 12 : required this.username, 13 : required this.password, 14 : this.path = 'tmp.log', 15 : }); 16 : 17 0 : bool isEmpty() => username.isEmpty || link.isEmpty || password.isEmpty || path.isEmpty; 18 : }