TargetAddress.fromJson constructor

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

Implementation

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