Navigator.internal constructor

Navigator.internal({
  1. required Window internalWindow,
  2. num? deviceMemory,
  3. String appCodeName = '',
  4. String appName = 'Netscape',
  5. String appVersion = '5.0',
  6. String platform = 'Win32',
  7. String product = 'Gecko',
  8. String? productSub = '20030107',
  9. bool? cookieEnabled,
  10. List<String> languages = const <String>[],
  11. bool? onLine,
  12. String userAgent = '-',
  13. String vendor = '-',
  14. String vendorSub = '',
  15. String? doNotTrack,
  16. int? maxTouchPoints,
})

Internal constructor. NOT part of "dart:html".

Implementation

Navigator.internal({
  required this.internalWindow,
  this.deviceMemory,
  this.appCodeName = '',
  this.appName = 'Netscape',
  this.appVersion = '5.0',
  this.platform = 'Win32',
  this.product = 'Gecko',
  this.productSub = '20030107',
  bool? cookieEnabled,
  List<String> languages = const <String>[],
  bool? onLine,
  String userAgent = '-',
  String vendor = '-',
  String vendorSub = '',
  String? doNotTrack,
  int? maxTouchPoints,
})  : _cookieEnabled = cookieEnabled,
      _languages = languages,
      _onLine = onLine,
      _userAgent = userAgent,
      _vendor = vendor,
      _vendorSub = vendorSub,
      _doNotTrack = doNotTrack,
      _maxTouchPoints = maxTouchPoints,
      super._();