NativeDeprecated class

Annotation for deprecated API on native platforms.

When you make some API deprecated, scope of available versions on each platform is required. For example:

@NativeDeprecated(ios: ['10.0', '10.4'])

Constructors

NativeDeprecated(String message, {List<String>? ios, List<String>? macos, List<String>? tvos, List<String>? watchos, List<String>? android})
const

Properties

android List<String>?
final
hashCode int
The hash code for this object.
no setterinherited
ios List<String>?
final
macos List<String>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tvos List<String>?
final
watchos List<String>?
final

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