EmailAuthenticationResult.fromJson constructor

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

Implementation

factory EmailAuthenticationResult.fromJson(Map<String, dynamic> json) {
  return EmailAuthenticationResult(
    result: json['result'] ?? '',
    description: json['description'] ?? '',
    rawValue: json['rawValue'] ?? '',
    tags: json['tags'] != null ? Map<String, String>.from(json['tags']) : const {},
  );
}