Authenticator.fromJson constructor
Authenticator.fromJson(
- Object? json
Implementation
factory Authenticator.fromJson(Object? json) {
final map = asJsonMap(json, 'tcp http header');
return Authenticator(
request: map['request'] == null
? null
: AuthenticatorRequest.fromJson(map['request']),
response: map['response'] == null
? null
: AuthenticatorResponse.fromJson(map['response']),
);
}