config property

Config config

Implementation

Config get config {
  Config config;
  switch (defaultTargetPlatform) {
    case TargetPlatform.android:
      config = android!;
      break;
    case TargetPlatform.iOS:
      config = iOS!;
      break;
    default:
      throw UnsupportedError(
          "Trying to use the default splashview implementation for $defaultTargetPlatform but there isn't a default one");
  }
  return config;
}