Data.fromJson constructor

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

Implementation

factory Data.fromJson(Map<String, dynamic> json) => Data(
      config: json["config"] == null ? null : Config.fromJson(json["config"]),
      isExisting: json["isExisting"],
      isProfileUpdated: json["isProfileUpdated"],
      message: json["message"],
      newLogin: json["newLogin"],
      password: json["password"],
      token: json["token"],
      username: json["username"],
    );