qualifiedName property

String get qualifiedName

Returns the Python object's __name__ attribute or name if an error occurs.

Implementation

String get qualifiedName {
  try {
    // ignore: avoid_dynamic_calls
    return (source.value as dynamic).__name__ as String;
    // ignore: avoid_catches_without_on_clauses
  } catch (_) {
    return name;
  }
}