toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'hostname': hostname,
      'ip': ip,
      'time': time,
      'mac': mac,
      'vendor': vendor
    };