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 {
|
||||
Timer? timer;
|
||||
int test = 0;
|
||||
|
||||
//attributes from DAFL
|
||||
late int idDafl;
|
||||
late String usernameDafl;
|
||||
late String passwDafl;
|
||||
|
||||
final String _idSpotify;
|
||||
String idDafl;
|
||||
late String idSpotify;
|
||||
|
||||
//constructors
|
||||
User(this.usernameDafl, this._idSpotify);
|
||||
|
||||
String get idSpotify => _idSpotify;
|
||||
User(this.idDafl);
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
import '../../model/user.dart';
|
||||
|
||||
abstract class Saver {
|
||||
void save(User userToSave);
|
||||
void save(String idDafl, String passw);
|
||||
}
|
||||
|
Loading…
Reference in new issue