hasAvatar method

bool hasAvatar()

whether to have avatar

Implementation

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