ConnectivityInfo.fromJson constructor
Implementation
factory ConnectivityInfo.fromJson(Map<String, dynamic> json) {
return ConnectivityInfo(
hostAddress: json['HostAddress'] as String?,
id: json['Id'] as String?,
metadata: json['Metadata'] as String?,
portNumber: json['PortNumber'] as int?,
);
}