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