Data.fromJson constructor
Converts a map into a Data object.
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: json["config"] == null ? null : Config.fromJson(json["config"]),
);