SocketAddress.fromJson constructor

SocketAddress.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory SocketAddress.fromJson(Map<String, dynamic> json) {
  return SocketAddress(
    ipAddress: json['IpAddress'] as String?,
    port: json['Port'] as int?,
  );
}