NetworkInfo.fromMap constructor

NetworkInfo.fromMap(
  1. Map mapContent
)

Implementation

NetworkInfo.fromMap(Map mapContent) {
  this.gateway = mapContent["gateway"];
  this.ip = mapContent["ip"];
  this.ipMask = mapContent["ipMask"];
  this.name = mapContent["name"];
}