Data.fromJson constructor

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

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"]),
    );