factory AgentNetworkInfo.fromJson(Map<String, dynamic> json) { return AgentNetworkInfo( ipAddress: json['ipAddress'] as String?, macAddress: json['macAddress'] as String?, ); }