update method
Implementation
Future<void> update(
String id,
String creatorId,
String creatorName,
String creatorImage,
String startTime,
int rounds,
int duration,
int increment,
bool finished,
bool hasStarted) async {
this.id = id;
this.creatorId = creatorId;
this.creatorName = creatorName;
this.creatorImage = creatorImage;
creatorElo = TournamentUserData.elo;
this.startTime = convertirFecha(startTime);
this.rounds = rounds;
this.duration = duration ~/ 60;
this.increment = increment;
this.finished = finished;
this.hasStarted = hasStarted;
}