ChatName class

Name of a Chat.

Only Chat-group can have a name.

Inheritance

Constructors

ChatName(String val)
ChatName.fromJson(String val)
Constructs a ChatName from the provided val.
factory
ChatName.unchecked(String val)
Creates a ChatName without any validation.
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
val String
Actual value wrapped by this NewType.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Returns a String representing this ChatName.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

tryParse(String val) ChatName?
Parses the provided val as a ChatName, if val meets the validation, or returns null otherwise.