pluginConstants property

Map get pluginConstants
inherited

Returns any plugin constants this plugin app instance has initialized.

Implementation

Map<dynamic, dynamic> get pluginConstants {
  final appConstants =
      _constantsForPluginApps[_appName] as Map<Object?, Object?>?;

  if (appConstants != null && appConstants[_methodChannelName] != null) {
    return appConstants[_methodChannelName]! as Map<dynamic, dynamic>;
  }

  return {};
}