AuthConfig_ApiKeyConfig.fromJson constructor

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

Implementation

factory AuthConfig_ApiKeyConfig.fromJson(Map<String, dynamic> json) {
  return AuthConfig_ApiKeyConfig(
    name: json['name'] ?? '',
    apiKeySecret: json['apiKeySecret'] ?? '',
    httpElementLocation:
        decodeEnum(
          json['httpElementLocation'],
          HttpElementLocation.fromJson,
        ) ??
        HttpElementLocation.$default,
  );
}