NextcloudConfig.authenticated constructor
NextcloudConfig.authenticated({})
Implementation
factory NextcloudConfig.authenticated({
required String serverUrl,
required String username,
required String password,
}) {
return NextcloudConfig(
baseUrl:
'$serverUrl/remote.php/dav/files/${Uri.encodeComponent(username)}',
username: username,
password: password,
);
}