AuthConfig_ApiKeyConfig.fromJson constructor
AuthConfig_ApiKeyConfig.fromJson(
- Object? j
Implementation
factory AuthConfig_ApiKeyConfig.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return AuthConfig_ApiKeyConfig(
name: switch (json['name']) {
null => '',
Object $1 => decodeString($1),
},
apiKeySecret: switch (json['apiKeySecret']) {
null => '',
Object $1 => decodeString($1),
},
httpElementLocation: switch (json['httpElementLocation']) {
null => HttpElementLocation.$default,
Object $1 => HttpElementLocation.fromJson($1),
},
);
}