Unions class final
Configuration for union declarations.
Constructors
-
Unions({bool include(Declaration declaration) = _excludeAll, String rename(Declaration declaration) = _useOriginalName, String renameMember(Declaration declaration, String member) = _useMemberOriginalName, CompoundDependencies dependencies = CompoundDependencies.opaque, @Deprecated('This field will change type. See ' 'https://github.com/dart-lang/native/issues/2595.') List<
ImportedType> imported = const <ImportedType>[]}) -
const
Properties
- dependencies → CompoundDependencies
-
Whether unions that are dependencies should be included.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
imported
→ List<
ImportedType> -
Unions imported from other Dart files.
final
- include → bool Function(Declaration declaration)
-
Checks if a name is allowed by a filter.
finalinherited
- includeMember → bool Function(Declaration declaration, String member)
-
Whether a member of a declaration should be included.
finalinherited
- includeSymbolAddress → bool Function(Declaration declaration)
-
Checks if the symbol address should be included for this name.
finalinherited
- rename → String Function(Declaration declaration)
-
Applies renaming and returns the result.
finalinherited
- renameMember → String Function(Declaration declaration, String member)
-
Applies member renaming and returns the result. Used for struct/union
fields, enum elements, function params, and ObjC
interface/protocol/category methods/properties.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
includeSet(
Set< String> names) → Unions
Constants
- excludeAll → const Unions
- includeAll → const Unions