ExternalVersions class

Target OS version constraints for external platform APIs (such as Objective-C APIs).

Interfaces, methods, and other API elements in headers may include platform availability annotations indicating when they were introduced, deprecated, or obsoleted. If an API element is present in all target versions, it is generated normally. If it's present in some target versions, a runtime version check is generated. If it's not present in any target versions, the API element is not generated at all.

If all fields are null, no version based filtering is applied. If some fields are non-null, filtering is based on the the non-null fields.

Constructors

ExternalVersions({Versions? ios, Versions? macos})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
ios Versions?
Target version range for iOS.
final
macos Versions?
Target version range for macOS.
final
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