ProxyTypeSocks5.fromJson constructor

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

Parse from a json

Implementation

factory ProxyTypeSocks5.fromJson(Map<String, dynamic> json) =>
    ProxyTypeSocks5(
      username: json['username'],
      password: json['password'],
    );