hasParams property

bool hasParams
latefinal

Whether constructor has parameters. If false, we can treat it as a ValueGetter of T.

Implementation

late final hasParams = !_constructorText.startsWith('() => ');