CollectibleItemTypeUsername class final
A username
- Inheritance
-
- Object
- TdObject
- CollectibleItemType
- CollectibleItemTypeUsername
- Available extensions
- Annotations
-
- @immutable
Constructors
- CollectibleItemTypeUsername({required String username})
Properties
Methods
-
copyWith(
{String? username}) → CollectibleItemTypeUsername -
Available on CollectibleItemTypeUsername, provided by the CollectibleItemTypeUsernameExtensions extension
-
getConstructor(
) → String -
override
-
map<
TResult extends Object?> ({required TResult phoneNumber(CollectibleItemTypePhoneNumber value), required TResult username(CollectibleItemTypeUsername value)}) → TResult -
Available on CollectibleItemType, provided by the CollectibleItemTypeExtensions extension
-
maybeMap<
TResult extends Object?> ({TResult phoneNumber(CollectibleItemTypePhoneNumber value)?, TResult username(CollectibleItemTypeUsername value)?, required TResult orElse()}) → TResult -
Available on CollectibleItemType, provided by the CollectibleItemTypeExtensions extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → CollectibleItemTypeUsername? -
Inherited by:
CollectibleItemTypePhoneNumber
CollectibleItemTypeUsername
override
Constants
- constructor → const String