Unions class final

Configuration for union declarations.

Inheritance

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)
Whether to include the given declaration.
finalinherited
includeMember bool Function(Declaration declaration, String member)
Whether the member of the declaration should be included.
finalinherited
includeSymbolAddress bool Function(Declaration declaration)
Whether the symbol address should be exposed for this declaration.
finalinherited
rename String Function(Declaration declaration)
Returns a new name for the declaration, to replace its originalName.
finalinherited
renameMember String Function(Declaration declaration, String member)
Returns a new name for the member of the declaration, to replace its originalName.
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
Returns a function to pass to include that includes all declarations whose originalNames are in names.
override

Constants

excludeAll → const Unions
includeAll → const Unions