SecurityPolicyRecaptchaOptionsConfig.fromJson constructor

SecurityPolicyRecaptchaOptionsConfig.fromJson(
  1. Object? j
)

Implementation

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