androidPluginClass property

String? get androidPluginClass

Implementation

String? get androidPluginClass {
  final platforms = pubSpec.flutter?.plugin?.platforms;
  if (platforms == null) {
    return null;
  }
  final android = platforms['android'] as Map<Object?, Object?>?;
  if (android != null && android['pluginClass'] != null) {
    return android['pluginClass']! as String;
  }
  return null;
}