Aadhaar.fromJson constructor

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

Implementation

factory Aadhaar.fromJson(Map<String, dynamic> json) => Aadhaar(
      address: Address.fromJson(json["address"]),
      dateOfBirth: json["dateOfBirth"],
      email: json["email"],
      gender: json["gender"],
      generatedAt: json["generatedAt"],
      maskedNumber: json["maskedNumber"],
      name: json["name"],
      phone: json["phone"],
      photo: json["photo"],
    );