inConfig method

bool inConfig(
  1. Map<String, dynamic> config
)

Returns whether the current platform is in the given configuration data.

For an Android implementation, inConfig might check for the presence of the "android" key in config.

Implementation

bool inConfig(final Map<String, dynamic> config) {
  return config.containsKey(platformConfigKey) &&
      config[platformConfigKey] != false;
}