kt_annotation library Null safety

Classes

TooGeneric
A method annotated with @tooGeneric is a indicator that the method is defined for a generic type T but only works for type X where X extends T. [...]

Constants

nonNull → const Object
An element annotated with @notNull claims null value is forbidden to return (for methods), pass to (parameters) and hold (local variables and fields). [...]
@Deprecated("Dart not support non-nullable types")
const _NonNull()
nullable → const Object
An element annotated with @nullable claims null value is perfectly valid to return (for methods), pass to (parameters) and hold (local variables and fields). [...]
@Deprecated("Dart not support non-nullable types")
const _Nullable()
tooGeneric → const Object
A method annotated with @tooGeneric is a indicator that the method is defined for a generic type T but only works for type X where X extends T. [...]
@Deprecated("Use static extension methods")
const TooGeneric()