OsLang class

Maneja las traducciones de mensajes de ping para diferentes SO e idiomas

Proporciona:

  • Regex para análisis de respuestas
  • Soporte multi-idioma (es, en, fr, de, it, pt, ru, zh, ja)
  • Compatibilidad con Windows, Linux y macOS

Constructors

OsLang.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
langLinux Map<String, Lang>
getter/setter pair
langMac Map<String, Lang>
getter/setter pair
langWindows Map<String, Lang>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkLang(String lang) bool
getRegex({required TypeRegex rg, required String lang}) RegExp
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited