fromJson static method

ProxyTypeWeb? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static ProxyTypeWeb? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return ProxyTypeWeb(
    path: (json['path'] as String?) ?? '',
    secret: json['secret'] as String?,
  );
}