copyWith method

  1. @override
ChatMemberStatusRestricted copyWith({
  1. bool? isMember,
  2. int? restrictedUntilDate,
  3. ChatPermissions? permissions,
})
override

Implementation

@override
ChatMemberStatusRestricted copyWith({
  bool? isMember,
  int? restrictedUntilDate,
  ChatPermissions? permissions,
}) => ChatMemberStatusRestricted(
  isMember: isMember ?? this.isMember,
  restrictedUntilDate: restrictedUntilDate ?? this.restrictedUntilDate,
  permissions: permissions ?? this.permissions,
);