AuthConfig_GoogleServiceAccountConfig.fromJson constructor

AuthConfig_GoogleServiceAccountConfig.fromJson(
  1. Object? j
)

Implementation

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