toString method
override
Returns a string representation of the object.
This method returns a formatted string containing the user's ID, name, and hashed password.
Implementation
@override
String toString() {
return 'UsersDBModel{'
'ID: $ID, '
'name: $name, '
'hashedPassword: $hashedPassword'
'}';
}