WorldState constructor
const
WorldState({ - String? name,
- GameTable table = const GameTable(),
- String tableName = '',
- GameInfo info = const GameInfo(),
- FileMetadata metadata = const FileMetadata(),
- Map<String, Set<Channel>> teamMembers = const {},
- List<ChatMessage> messages = const [],
- Channel id = kAuthorityChannel,
- List<GameDialog> dialogs = const [],
- Map<String, Uint8List> images = const {},
- 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,
});