fromJson method

void fromJson(
  1. Map<String, dynamic> data
)

Implementation

void fromJson(Map<String, dynamic> data) {
  ip = data['ip'] ?? '';
  port = data['port'] ?? 0;
  useTelnet = data['useTelnet'] ?? true;
}