getAttribute method

Object? getAttribute(
  1. String name
)

Get an Attribute

Implementation

Object? getAttribute(String name) {
  if (attributes.containsKey(name)) {
    return attributes[name];
  }

  if (profile != null && profile!.attributes.containsKey(name)) {
    return profile?.attributes[name];
  }
  return null;
}