W3cubDocs

/Dart 2

isOriginalDeclaration property

bool isOriginalDeclaration

Is this the original declaration of this type?

For most classes, they are their own original declaration. For generic classes, however, there is a distinction between the original class declaration, which has unbound type variables, and the instantiations of generic classes, which have bound type variables.

Implementation

bool get isOriginalDeclaration;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-mirrors/TypeMirror/isOriginalDeclaration.html