WtConfig constructor

const WtConfig({
  1. required String appName,
  2. required String baseUrl,
  3. required String secretKey,
  4. ThemeData? theme,
  5. bool debugMode = false,
  6. String? envelopeKey,
  7. String messageKey = 'msg',
  8. String? successKey,
  9. String tokenKey = 'token',
  10. bool sanitizeRequests = false,
})

Implementation

const WtConfig({
  required this.appName,
  required this.baseUrl,
  required this.secretKey,
  this.theme,
  this.debugMode = false,
  this.envelopeKey,
  this.messageKey = 'msg',
  this.successKey,
  this.tokenKey = 'token',
  this.sanitizeRequests = false,
});