Username class
Encapsulates a valid YouTube user name.
- Annotations
-
- @freezed
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parseUsername(
String nameOrUrl) → String? - Parses a username from a url.
-
validateUsername(
String name) → bool - Returns true if the given username is a valid username.