Tournament class

Annotations
  • @freezed

Constructors

Tournament({required String id, String? title, String? description, int? category, int? sortOrder, int? size, int? maxSize, int? maxNumScore, bool? canEnter, int? endActive, int? nextReset, String? metadata, DateTime? createTime, DateTime? startTime, DateTime? endTime, int? duration, int? startActive, int? prevReset})
const
factory
Tournament.fromDto(Tournament dto)
factory
Tournament.fromJson(Map<String, Object?> json)
factory

Properties

canEnter bool?
no setterinherited
category int?
no setterinherited
copyWith → $TournamentCopyWith<Tournament>
no setterinherited
createTime DateTime?
no setterinherited
description String?
no setterinherited
duration int?
no setterinherited
endActive int?
no setterinherited
endTime DateTime?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
maxNumScore int?
no setterinherited
maxSize int?
no setterinherited
metadata String?
no setterinherited
nextReset int?
no setterinherited
prevReset int?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int?
no setterinherited
sortOrder int?
no setterinherited
startActive int?
no setterinherited
startTime DateTime?
no setterinherited
title String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited