forEachAttribute method

void forEachAttribute(
  1. void callback(
    1. String name,
    2. Object? value
    )
)

Implementation

void forEachAttribute(void Function(String name, Object? value) callback) {
  attributes.forEach(callback);
  if (profile != null) {
    profile?.attributes.forEach((String str, Object? val) {
      if (!attributes.containsKey(str)) {
        callback(str, val);
      }
    });
  }
}