SignUpWithEmailBody.fromJson constructor

SignUpWithEmailBody.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory SignUpWithEmailBody.fromJson(Map<String, Object?> json) =>
    SignUpWithEmailBody(
      email: json['email'] as String,
      password: json['password'] as String,
      profile: json['profile'] == null
          ? null
          : (json['profile'] as Map).cast<String, Object?>(),
      turnstileToken: json['turnstileToken'] as String?,
    );