Changements et réorganisation des appels des méthodes en fonction de la temporalité des actions de l'utilisateur
parent
a526982796
commit
277edb2031
@ -1,18 +1,8 @@
|
|||||||
import 'dart:async';
|
|
||||||
|
|
||||||
class User {
|
class User {
|
||||||
Timer? timer;
|
|
||||||
int test = 0;
|
|
||||||
|
|
||||||
//attributes from DAFL
|
//attributes from DAFL
|
||||||
late int idDafl;
|
String idDafl;
|
||||||
late String usernameDafl;
|
late String idSpotify;
|
||||||
late String passwDafl;
|
|
||||||
|
|
||||||
final String _idSpotify;
|
|
||||||
|
|
||||||
//constructors
|
//constructors
|
||||||
User(this.usernameDafl, this._idSpotify);
|
User(this.idDafl);
|
||||||
|
|
||||||
String get idSpotify => _idSpotify;
|
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
import '../../model/user.dart';
|
|
||||||
|
|
||||||
abstract class Saver {
|
abstract class Saver {
|
||||||
void save(User userToSave);
|
void save(String idDafl, String passw);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue