regAppConfig<T extends OnEyFlutterConfig> method

void regAppConfig<T extends OnEyFlutterConfig>(
  1. T? config
)

注册应用配置 OnEyFlutterConfig实现类

Implementation

void regAppConfig<T extends OnEyFlutterConfig>(T? config) {
  if (config == null) {
    return;
  }
  ConfigManager.instance.addConfig(_eyConfigKey, config);
}