TreasuryReport class
Constructors
-
TreasuryReport({int? accruedCents, Map<
String, int> byProgramCents = const {}, int? paidCents, SharePolicy? policy, int? reserveCents, bool? solventForPayout}) - Returns a new TreasuryReport instance.
Properties
- accruedCents ↔ int?
-
lifetime revenue-share into the fund
getter/setter pair
-
byProgramCents
↔ Map<
String, int> -
program → lifetime paid
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- paidCents ↔ int?
-
lifetime backed payouts out of the fund
getter/setter pair
- policy ↔ SharePolicy?
-
current revenue-share policy
getter/setter pair
- reserveCents ↔ int?
-
fund:reserve balance (available now)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- solventForPayout ↔ bool?
-
reserve > 0: at least some payout is backable
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → TreasuryReport? -
Returns a new TreasuryReport instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< TreasuryReport> -
mapFromJson(
dynamic json) → Map< String, TreasuryReport> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< TreasuryReport> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.