isEditable method

bool isEditable()

Whether current user wrote this message and can modify it

Implementation

bool isEditable() {
  var tmp0 = 0;
  tmp0 = _box.borrow();
  final tmp1 = _api._roomEventItemIsEditable(
    tmp0,
  );
  final tmp3 = tmp1;
  final tmp2 = tmp3 > 0;
  return tmp2;
}