AadhaarModel.fromJson constructor

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

Implementation

factory AadhaarModel.fromJson(Map<String, dynamic> json) => AadhaarModel(
      aadhaar: Aadhaar.fromJson(json["aadhaar"]),
      facematch: json.containsKey("facematch")
          ? Facematch.fromJson(json["facematch"])
          : null,
    );