UserDetails.fromJson constructor
Implementation
factory UserDetails.fromJson(Map<String, Object?> json) {
return UserDetails(
business: json[r'business'] != null
? UserDetailsBusiness.fromJson(
json[r'business']! as Map<String, Object?>)
: null,
personal: json[r'personal'] != null
? UserDetailsPersonal.fromJson(
json[r'personal']! as Map<String, Object?>)
: null,
);
}