Dart DocumentationptwebserverptConfig

ptConfig class

class ptConfig {
 ptConfig() {
   hosts = new List<ptHost>();
 }
 String servername;
 List<ptHost> hosts;
 
 String logPath;
 
 
 Map toJson() {
   Map ret = new Map();
   ret['servername']=servername;
   ret['hosts']=hosts;
   return ret;
 }
}

Constructors

new ptConfig() #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
ptConfig() {
 hosts = new List<ptHost>();
}

Properties

List<ptHost> hosts #

List<ptHost> hosts

String logPath #

String logPath

String servername #

String servername

Methods

Map toJson() #

Map toJson() {
 Map ret = new Map();
 ret['servername']=servername;
 ret['hosts']=hosts;
 return ret;
}