copyWith method
UserFullInfo
copyWith(
{ - ChatPhoto? photo,
- bool? isBlocked,
- bool? canBeCalled,
- bool? supportsVideoCalls,
- bool? hasPrivateCalls,
- bool? hasPrivateForwards,
- bool? needPhoneNumberPrivacyException,
- String? bio,
- String? shareText,
- String? description,
- int? groupInCommonCount,
- List<BotCommand>? commands,
- int? clientId,
})
Implementation
UserFullInfo copyWith({
ChatPhoto? photo,
bool? isBlocked,
bool? canBeCalled,
bool? supportsVideoCalls,
bool? hasPrivateCalls,
bool? hasPrivateForwards,
bool? needPhoneNumberPrivacyException,
String? bio,
String? shareText,
String? description,
int? groupInCommonCount,
List<BotCommand>? commands,
dynamic extra,
int? clientId,
}) => UserFullInfo(
photo: photo ?? this.photo,
isBlocked: isBlocked ?? this.isBlocked,
canBeCalled: canBeCalled ?? this.canBeCalled,
supportsVideoCalls: supportsVideoCalls ?? this.supportsVideoCalls,
hasPrivateCalls: hasPrivateCalls ?? this.hasPrivateCalls,
hasPrivateForwards: hasPrivateForwards ?? this.hasPrivateForwards,
needPhoneNumberPrivacyException: needPhoneNumberPrivacyException ?? this.needPhoneNumberPrivacyException,
bio: bio ?? this.bio,
shareText: shareText ?? this.shareText,
description: description ?? this.description,
groupInCommonCount: groupInCommonCount ?? this.groupInCommonCount,
commands: commands ?? this.commands,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);