copyWith method

DraftRow copyWith({
  1. String? chatId,
  2. String? data,
})

Implementation

DraftRow copyWith({String? chatId, String? data}) => DraftRow(
      chatId: chatId ?? this.chatId,
      data: data ?? this.data,
    );