StreamingCredentials constructor
Implementation
StreamingCredentials({required this.username, required this.password}) {
if (username.isEmpty) {
throw ArgumentError.value(username, 'username', 'Must not be empty.');
}
if (password.isEmpty) {
throw ArgumentError.value(password, 'password', 'Must not be empty.');
}
}