ApiAuth.fromJson constructor

ApiAuth.fromJson(
  1. Object? j
)

Implementation

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