UnicoConfig constructor Null safety

UnicoConfig(
  1. {required String urlInstance,
  2. required String apikey,
  3. required String authToken,
  4. String? androidColorSilhoutte,
  5. String? androidColorBackground,
  6. String? androidColorBoxMessage,
  7. String? androidColorTextMessage,
  8. String? androidColorBackgroundPopupError,
  9. String? androidColorTextPopupError,
  10. String? androidColorBackgroundButtonPopupError,
  11. String? androidColorTextButtonPopupError,
  12. String? androidColorBackgroundTakePictureButton,
  13. String? androidColorIconTakePictureButton,
  14. String? androidColorBackgroundBottomDocument,
  15. String? androidColorTextBottomDocument,
  16. String? iosColorSilhoutteNeutra,
  17. String? iosColorSilhoutteSuccess,
  18. String? iosColorSilhoutteError,
  19. String? iosColorBackground,
  20. String? iosColorBackgroundBoxStatus,
  21. String? iosColorTextBoxStatus,
  22. String? iosColorBackgroundPopupError,
  23. String? iosColorTextPopupError,
  24. String? iosImageIconPopupError}
)

Objeto de configuracao unico

Implementation

UnicoConfig({
  required String urlInstance,
  required String apikey,
  required String authToken,
  this.androidColorSilhoutte,
  this.androidColorBackground,
  this.androidColorBoxMessage,
  this.androidColorTextMessage,
  this.androidColorBackgroundPopupError,
  this.androidColorTextPopupError,
  this.androidColorBackgroundButtonPopupError,
  this.androidColorTextButtonPopupError,
  this.androidColorBackgroundTakePictureButton,
  this.androidColorIconTakePictureButton,
  this.androidColorBackgroundBottomDocument,
  this.androidColorTextBottomDocument,
  this.iosColorSilhoutteNeutra,
  this.iosColorSilhoutteSuccess,
  this.iosColorSilhoutteError,
  this.iosColorBackground,
  this.iosColorBackgroundBoxStatus,
  this.iosColorTextBoxStatus,
  this.iosColorBackgroundPopupError,
  this.iosColorTextPopupError,
  this.iosImageIconPopupError,
})  : _urlInstance = urlInstance, ///url
      _apikey = apikey, ///apikey
      _authToken = authToken;