ForgotPasswordResponse.fromJson constructor

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

Implementation

factory ForgotPasswordResponse.fromJson(Map<String, dynamic> json) {
  return ForgotPasswordResponse(
    codeDeliveryDetails: json['CodeDeliveryDetails'] != null
        ? CodeDeliveryDetailsType.fromJson(
            json['CodeDeliveryDetails'] as Map<String, dynamic>)
        : null,
  );
}