NsgDataProvider constructor

NsgDataProvider({
  1. String? name,
  2. required String applicationName,
  3. String serverUri = '',
  4. String authorizationApi = 'Api/Auth',
  5. bool useNsgAuthorization = true,
  6. bool allowConnect = true,
  7. required String firebaseToken,
  8. required String applicationVersion,
  9. Future eventOpenLoginPage()?,
  10. required NsgServerParams availableServers,
  11. String languageCode = 'ru',
  12. bool newTableLogic = false,
})

Implementation

NsgDataProvider({
  this.name,
  required this.applicationName,
  this.serverUri = '', //https://servername.me:1234
  this.authorizationApi = 'Api/Auth',
  this.useNsgAuthorization = true,
  this.allowConnect = true,
  required this.firebaseToken,
  required this.applicationVersion,
  // NsgLoginParamsInterface Function()? widgetLoginParams,
  this.eventOpenLoginPage,
  required this.availableServers,
  this.languageCode = 'ru',
  this.newTableLogic = false,
}) {
 // widgetParams = widgetLoginParams ?? () => NsgBaseController.defaultLoginParams!;
}