-
Notifications
You must be signed in to change notification settings - Fork 147
Closed as not planned
Closed as not planned
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
👟 Reproduction steps
import 'package:appwrite/appwrite.dart';
import 'package:appwrite/models.dart' ;
class Appwrite {
static final _clientInstance = Client()
..setEndpoint(AppWriteConst.endpoint)
..setProject(AppWriteConst.projectId)
..setSelfSigned();
static final _databaseInstance = Databases(_clientInstance);
static final realTimeInstance = Realtime(_clientInstance);
static final accountInstace = Account(_clientInstance);
}Please copy paste this. Version is appwrite: ^8.3.0 in flutter project.
👍 Expected behavior
It is expected that class Account would be defined at only one place. But, it is defined at two place. So, either we rename one or if both Account is duplicate then better retain only one... Else right now causing confusion...
👎 Actual Behavior
But, currently account class is defined at two place due to that I have to use import like this,
import 'package:appwrite/appwrite.dart';
import 'package:appwrite/models.dart' hide Account;🎲 Appwrite version
Version 2.0.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working