AdBudget class

How much a boost or ad may spend.

Constructors

AdBudget({required int minor, required String type, DateTime? endAt})
Creates a budget. minor is in the ad account's currency, minor units.
const

Properties

endAt → DateTime?
When a lifetime budget stops.
final
hashCode → int
The hash code for this object.
no setterinherited
minor → int
The amount, in minor units of the ad account's currency.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
One of AdBudgetType.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Renders the budget for a request body.
toString() → String
A string representation of this object.
override

Operators

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