getViewForAttrib method Null safety

VectorList<Vector>? getViewForAttrib(
  1. String name
)

Implementation

VectorList<Vector>? getViewForAttrib(String name) {
  for (var attrib in attribs) {
    if (attrib.name == name) {
      return attrib.getView(buffer);
    }
  }
  return null;
}