MetricsResponse class
Constructors
-
MetricsResponse({int? arr, int? burn, int? cash, int? cogs, int? deferredRevenue, List<Figure> figures = const [], String? from, int? grossMarginBps, int? grossProfit, int? monthlyBurn, int? months, int? mrr, int? netIncome, String? period, int? revenue, int? runwayMonths, String? to})
-
Returns a new MetricsResponse instance.
Properties
-
arr
↔ int?
-
ARR is annualized recurring revenue in cents (MRR × 12).
getter/setter pair
-
burn
↔ int?
-
Burn is total expense in cents over the period.
getter/setter pair
-
cash
↔ int?
-
Cash is the bank + processor-clearing balance in cents as of To.
getter/setter pair
-
cogs
↔ int?
-
COGS is cost of goods sold in cents over the period.
getter/setter pair
-
deferredRevenue
↔ int?
-
DeferredRevenue is the customer-wallet liability in cents as of To.
getter/setter pair
-
figures
↔ List<Figure>
-
Figures is the same snapshot rendered through books' one money formatter.
getter/setter pair
-
from
↔ String?
-
From is the RFC3339 start of the reporting window, exclusive; absent for all time.
getter/setter pair
-
grossMarginBps
↔ int?
-
GrossMarginBps is GrossProfit / Revenue in basis points (7000 = 70%).
getter/setter pair
-
grossProfit
↔ int?
-
GrossProfit is Revenue − COGS, in cents.
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setteroverride
-
monthlyBurn
↔ int?
-
MonthlyBurn is net cash burned per month in cents; 0 when not losing cash.
getter/setter pair
-
months
↔ int?
-
Months is the window length in whole months used to normalize MRR and burn.
getter/setter pair
-
mrr
↔ int?
-
MRR is monthly recurring revenue in cents.
getter/setter pair
-
netIncome
↔ int?
-
NetIncome is Revenue − Burn, in cents.
getter/setter pair
-
period
↔ String?
-
Period is the human window label, e.g. "2026-07" or "all-time".
getter/setter pair
-
revenue
↔ int?
-
Revenue is recognized revenue in cents over the period.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
runwayMonths
↔ int?
-
RunwayMonths is Cash / MonthlyBurn; -1 means infinite (the org is not burning).
getter/setter pair
-
to
↔ String?
-
To is the RFC3339 end of the reporting window, inclusive; absent for up to now.
getter/setter pair