getAttrInt method

int getAttrInt(
  1. String attribute
)

Implementation

int getAttrInt(String attribute) => ResourceScope.scope(() {
  final attr = getAttr(attribute);
  return attr.asInt();
});