MonetizationSettings class

Monetization settings of an User.

Implemented types
Annotations

Constructors

MonetizationSettings({MonetizationSettingsDonation? donation, UserId? user, required PreciseDateTime createdAt})
MonetizationSettings.fromJson(Map<String, dynamic> json)
Constructs a MonetizationSettings from the provided json.
factory

Properties

createdAt PreciseDateTime
PreciseDateTime when these MonetizationSettings were created.
final
donation MonetizationSettingsDonation?
Monetization settings of Donations.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
user UserId?
User these MonetizationSettings are specified individually for.
final

Methods

compareTo(MonetizationSettings other) int
Compares this object to another object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a Map representing this MonetizationSettings.
toString() String
A string representation of this object.
override

Operators

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