Endpoint.fromJson constructor

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

Implementation

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