copyWith method

Comments copyWith({
  1. String? id,
  2. String? message,
  3. String? status,
  4. String? createdAt,
})

Implementation

Comments copyWith({  String? id,
  String? message,
  String? status,
  String? createdAt,
}) => Comments(  id: id ?? _id,
  message: message ?? _message,
  status: status ?? _status,
  createdAt: createdAt ?? _createdAt,
);