update method

dynamic update(
  1. Comment other
)

Implementation

update(Comment other) {
  text = other.text;
  resource = other.resource;
  edited = other.edited;
}