WepinNetwork constructor

WepinNetwork({
  1. required String wepinAppKey,
  2. required String domain,
  3. required String version,
  4. required String type,
})

Implementation

WepinNetwork({
  required String wepinAppKey,
  required String domain,
  required String version,
  required String type,
})  : _wepinAppKey = wepinAppKey,
      _domain = domain,
      _version = version,
      _type = type,
      _wepinBaseUrl = getWepinSdkUrl(wepinAppKey)['sdkBackend']!
      {
        _setHeader();
      }