CrossSaveUserMembership class

Very basic info about a user as returned by the Account server, but including CrossSave information. Do NOT use as a request contract.

Annotations
  • @JsonSerializable()

Constructors

CrossSaveUserMembership()
CrossSaveUserMembership.fromJson(Map<String, dynamic> json)
factory

Properties

applicableMembershipTypes List<BungieMembershipType>?
The list of Membership Types indicating the platforms on which this Membership can be used. Not in Cross Save = its original membership type. Cross Save Primary = Any membership types it is overridding, and its original membership type Cross Save Overridden = Empty list
getter/setter pair
bungieGlobalDisplayName String?
The bungie global display name, if set.
getter/setter pair
bungieGlobalDisplayNameCode int?
The bungie global display name code, if set.
getter/setter pair
crossSaveOverride BungieMembershipType?
If there is a cross save override in effect, this value will tell you the type that is overridding this one.
getter/setter pair
displayName String?
Display Name the player has chosen for themselves. The display name is optional when the data type is used as input to a platform API.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isPublic bool?
If True, this is a public user membership.
getter/setter pair
membershipId String?
Membership ID as they user is known in the Accounts service
getter/setter pair
membershipType BungieMembershipType?
Type of the membership. Not necessarily the native type.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asyncToJson() Future<Map<String, dynamic>>
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.
inherited

Operators

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

Static Methods

asyncFromJson(Map<String, dynamic> json) Future<CrossSaveUserMembership>