World class

Annotations
  • @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)

Constructors

World({required String authorId, required String authorName, required int capacity, required int recommendedCapacity, required DateTime createdAt, required String description, int? favorites = 0, bool featured = false, int heat = 0, required String id, required String imageUrl, List<List<Object>>? instances, required String labsPublicationDate, required String name, String? namespace, int? occupants = 0, String organization = 'vrchat', int popularity = 0, String? previewYoutubeId, int? privateOccupants = 0, int? publicOccupants = 0, required String publicationDate, required ReleaseStatus releaseStatus, required List<String> tags, required String thumbnailImageUrl, List<UnityPackage>? unityPackages, required DateTime updatedAt, int version = 0, int visits = 0, List<String>? udonProducts})
Returns a new World instance.
World.fromJson(Map<String, dynamic> json)
factory

Properties

authorId String
A users unique ID, usually in the form of usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469. Legacy players can have old IDs in the form of 8JoV9XEdpo. The ID can never be changed.
final
authorName String
final
capacity int
final
createdAt DateTime
final
description String
final
favorites int?
final
final
hashCode int
The hash code for this object.
no setteroverride
heat int
final
id String
WorldID be "offline" on User profiles if you are not friends with that user.
final
imageUrl String
final
instances List<List<Object>>?
Will always be an empty list when unauthenticated.
final
labsPublicationDate String
final
name String
final
namespace String?
final
occupants int?
Will always be 0 when unauthenticated.
final
organization String
final
popularity int
final
previewYoutubeId String?
final
privateOccupants int?
Will always be 0 when unauthenticated.
final
publicationDate String
final
publicOccupants int?
Will always be 0 when unauthenticated.
final
recommendedCapacity int
final
releaseStatus ReleaseStatus
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tags List<String>
final
thumbnailImageUrl String
final
udonProducts List<String>?
final
unityPackages List<UnityPackage>?
Empty if unauthenticated.
final
updatedAt DateTime
final
version int
final
visits int
final

Methods

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

Operators

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