SettingsService constructor Null safety

SettingsService()

Implementation

factory SettingsService() {
  if (_singleton == null) {
    _singleton = SettingsService._();
  }
  return _singleton!;
}