validateId method
Implementation
@visibleForTesting
void validateId(int id) {
if (id > 0x7FFFFFFF || id < -0x80000000) {
throw ArgumentError(
'The id field must be the limited to 32-bit size integer');
}
}
@visibleForTesting
void validateId(int id) {
if (id > 0x7FFFFFFF || id < -0x80000000) {
throw ArgumentError(
'The id field must be the limited to 32-bit size integer');
}
}