Driver constructor
Driver(
- String scope, {
- void onError(
- Object? error,
- StackTrace stack
- VoidCallback? onFull,
Implementation
Driver(this.scope, {this.onError, this.onFull}) :
wd = scope == DriveApi.driveAppdataScope ? "appDataFolder" : "root",
con = InternetConnection.createInstance() {
con.onStatusChange.listen((InternetStatus status) {
internetAvailable = status == InternetStatus.connected;
});
}