copyWith method

ChatNearby copyWith({
  1. int? chatId,
  2. int? distance,
})

Implementation

ChatNearby copyWith({
  int? chatId,
  int? distance,
}) =>
    ChatNearby(
      chatId: chatId ?? this.chatId,
      distance: distance ?? this.distance,
    );