getType method
Implementation
PortableType? getType(int id) {
for (final type in types) {
if (type.id == id) {
return type;
}
}
return null;
}
PortableType? getType(int id) {
for (final type in types) {
if (type.id == id) {
return type;
}
}
return null;
}