getAttrib method Null safety
- String name
Implementation
VertexAttrib? getAttrib(String name) {
for (var attrib in attribs) {
if (attrib.name == name) {
return attrib;
}
}
return null;
}
VertexAttrib? getAttrib(String name) {
for (var attrib in attribs) {
if (attrib.name == name) {
return attrib;
}
}
return null;
}