WorldState constructor

const WorldState({
  1. String? name,
  2. GameTable table = const GameTable(),
  3. String tableName = '',
  4. GameInfo info = const GameInfo(),
  5. FileMetadata metadata = const FileMetadata(),
  6. Map<String, Set<Channel>> teamMembers = const {},
  7. List<ChatMessage> messages = const [],
  8. Channel id = kAuthorityChannel,
  9. List<GameDialog> dialogs = const [],
  10. Map<String, Uint8List> images = const {},
  11. required SetonixData data,
})

Implementation

const WorldState({
  this.name,
  this.table = const GameTable(),
  this.tableName = '',
  this.info = const GameInfo(),
  this.metadata = const FileMetadata(),
  this.teamMembers = const {},
  this.messages = const [],
  this.id = kAuthorityChannel,
  this.dialogs = const [],
  this.images = const {},
  required this.data,
});