isDocId static method
Implementation
static bool isDocId(docId) {
if (docId is String || docId is num) {
return true;
} else {
throw CloudBaseException(
code: CloudBaseExceptionCode.INVALID_PARAM,
message: 'Only for these two types(String | num)',
);
}
}