GetTargetHttpProxyRequest.fromJson constructor

GetTargetHttpProxyRequest.fromJson(
  1. Object? j
)

Implementation

factory GetTargetHttpProxyRequest.fromJson(Object? j) {
  final json = j as Map<String, Object?>;
  return GetTargetHttpProxyRequest(
    project: switch (json['project']) {
      null => '',
      Object $1 => decodeString($1),
    },
    targetHttpProxy: switch (json['targetHttpProxy']) {
      null => '',
      Object $1 => decodeString($1),
    },
  );
}