W3cubDocs

/Dart 2

referent property

FunctionTypeMirror referent

The defining type for this typedef.

If the type referred to by the reflectee is a function type F, the result will be FunctionTypeMirror reflecting F which is abstract and has an abstract method call whose signature corresponds to F. For instance void f(int) is the referent for typedef void f(int).

Implementation

FunctionTypeMirror get referent;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-mirrors/TypedefMirror/referent.html