getById static method
Get MessageType by its ASN.1 ID.
Will return null
if not found.
Implementation
static MessageType? getById(int id) {
for (MessageType mt in values) {
if (mt.id == id) {
return mt;
}
}
return null;
}
Get MessageType by its ASN.1 ID.
Will return null
if not found.
static MessageType? getById(int id) {
for (MessageType mt in values) {
if (mt.id == id) {
return mt;
}
}
return null;
}