GenerateLinkProperties.fromJson constructor

GenerateLinkProperties.fromJson(
  1. Map<String, dynamic> json
)

Implementation

GenerateLinkProperties.fromJson(Map<String, dynamic> json)
    : actionLink = json['action_link'] ?? '',
      emailOtp = json['email_otp'] ?? '',
      hashedToken = json['hashed_token'] ?? '',
      redirectTo = json['redirect_to'] ?? '',
      verificationType =
          GenerateLinkTypeExtended.fromString(json['verification_type']);