constructorName property

String get constructorName

Discover factories within the class that rely on the provider. For example factory User.fromRest

Implementation

String get constructorName => 'from$providerName';