Map<String, dynamic> toMap() { return <String, dynamic>{ 'remotePath': ?remotePath, 'server': ?server, }; }