UserMembership class
Very basic info about a user as returned by the Account server.
- Annotations
-
- @JsonSerializable()
Constructors
- UserMembership()
-
UserMembership.fromJson(Map<
String, dynamic> json) -
factory
Properties
- 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
- 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
- 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<UserMembership>