copyWith method

UserFullInfo copyWith({
  1. ChatPhoto? photo,
  2. bool? isBlocked,
  3. bool? canBeCalled,
  4. bool? supportsVideoCalls,
  5. bool? hasPrivateCalls,
  6. bool? hasPrivateForwards,
  7. bool? needPhoneNumberPrivacyException,
  8. String? bio,
  9. String? shareText,
  10. String? description,
  11. int? groupInCommonCount,
  12. List<BotCommand>? commands,
  13. dynamic extra,
  14. 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,
);