UserProfileTierRequirement class

Constructors

UserProfileTierRequirement({required int grade, required String name, required String description, required UserProfileTier tier, required int requiredTrips, required double requiredScore})
const
UserProfileTierRequirement.fromJson(Map<String, dynamic> json)
Creates an instance from backend JSON.
factory

Properties

description String
final
grade int
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
requiredScore double
final
requiredTrips int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tier UserProfileTier
final

Methods

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

Operators

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