toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "token": token,
      "username": username,
      "password": password,
      "isExisting": isExisting,
      "isProfileUpdated": isProfileUpdated,
      "config": config?.toJson(),
    };