getAttribute method

XmppAttribute? getAttribute(
  1. String? name
)
inherited

Implementation

XmppAttribute? getAttribute(String? name) {
  return _attributes.firstWhereOrNull((attr) => attr.name == name);
}