inConfig method

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

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

@override
bool inConfig(final Map<String, dynamic> config) {
  return config.containsKey('android') &&
      config.containsKey('adaptive_icon_background') &&
      config.containsKey('adaptive_icon_foreground');
}