copyWith method

SearchPublicChat copyWith({
  1. String? username,
})

Implementation

SearchPublicChat copyWith({
  String? username,
}) =>
    SearchPublicChat(
      username: username ?? this.username,
    );