MemoId constructor

MemoId(
  1. int id
)

Implementation

MemoId(int id) {
  if (fixnum.Int64(id).toRadixStringUnsigned(10) == "0") {
    throw Exception("id must be a positive number");
  }
  this._id = id;
}