tooGeneric top-level constant

Object const tooGeneric
@Deprecated("Use static extension methods")

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.

The method will be moved to a more specific type when dart extension methods are implemented. https://github.com/dart-lang/language/issues/41

Use @TooGeneric(type: X) to define which type should be used

Implementation

const Object tooGeneric = TooGeneric()