virtual top-level constant Null safety

_Virtual const virtual
@Deprecated('No longer has meaning')

Used to annotate a field that is allowed to be overridden in Strong Mode.

Deprecated: Most of strong mode is now the default in 2.0, but the notion of virtual fields was dropped, so this annotation no longer has any meaning. Uses of the annotation should be removed.

Implementation

@Deprecated('No longer has meaning')
const _Virtual virtual = _Virtual();