ChatRevenueStatistics class
Detailed statistics about revenue earned from sponsored messages in a chat
- Inheritance
- Available extensions
- Annotations
-
- @immutable
Constructors
- ChatRevenueStatistics({required StatisticalGraph revenueByHourGraph, required StatisticalGraph revenueGraph, required ChatRevenueAmount revenueAmount, required double usdRate})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- revenueAmount → ChatRevenueAmount
-
revenueAmount Amount of earned revenue
final
- revenueByHourGraph → StatisticalGraph
-
revenueByHourGraph A graph containing the amount of revenue in a given
hour
final
- revenueGraph → StatisticalGraph
-
revenueGraph A graph containing the amount of revenue
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- usdRate → double
-
usdRate Current exchange rate of the cryptocurrency in which revenue is
calculated to USD
final
Methods
-
copyWith(
{StatisticalGraph? revenueByHourGraph, StatisticalGraph? revenueGraph, ChatRevenueAmount? revenueAmount, double? usdRate}) → ChatRevenueStatistics -
Available on ChatRevenueStatistics, provided by the ChatRevenueStatisticsExtensions extension
-
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → ChatRevenueStatistics?
Constants
- constructor → const String