copyWith method

MessageId copyWith({
  1. bool? fromMe,
  2. String? remote,
  3. String? id,
  4. String? serialized,
})

Implementation

MessageId copyWith({
  bool? fromMe,
  String? remote,
  String? id,
  String? serialized,
}) {
  return MessageId(
    fromMe: fromMe ?? this.fromMe,
    remote: remote ?? this.remote,
    id: id ?? this.id,
    serialized: serialized ?? this.serialized,
  );
}