isFlutterPlugin property
bool
isFlutterPlugin
Returns whether this package is a Flutter plugin.
This is determined by whether the pubspec contains a flutter.plugin definition.
Implementation
bool get isFlutterPlugin => pubSpec.flutter?.plugin != null;