observable top-level constant Null safety

_ObservableMetadata const observable

Metadata for a getter that can be observed.

Code generator finds this metadata, then generates a private instance variable and a public setter. In order to create a private setter, use observableWithPrivateSetter instead.

Implementation

const observable = const _ObservableMetadata(false);