AuthConfig_HttpBasicAuthConfig.fromJson constructor

AuthConfig_HttpBasicAuthConfig.fromJson(
  1. Object? j
)

Implementation

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