nullable top-level constant

  1. @Deprecated('Add `?` to the field type to make it nullable instead')
String const nullable

Annotation that was used to mark nullable Built Value fields.

Now it does nothing or causes an error whenever used.

Implementation

@Deprecated('Add `?` to the field type to make it nullable instead')
const String nullable = 'nullable';