Data.fromJson constructor
Implementation
factory Data.fromJson(Map<String, dynamic> json) => Data(
token: json["token"],
username: json["username"],
password: json["password"],
isExisting: json["isExisting"],
isProfileUpdated: json["isProfileUpdated"],
config: RegConfig.fromJson(json["config"]),
);