PlanResource class

Live subscription standing for the key's owner.

Read this before an expensive call rather than discovering the ceiling through a MisarMailPlanLimitError: usage reports every metered feature and upgrade is non-null as soon as one of them is spent.

Constructors

PlanResource(MisarMailClient client)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get() Future<Map<String, dynamic>>
GET /plan — plan, sending allowances, per-feature usage, upgrade offer.
monetization() Future<Map<String, dynamic>>
GET /monetization/stats — revenue and monetization counters.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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