AccountsUsage class

Constructors

AccountsUsage({List<RoutedUsage> accounts = const [], String? scope, String? source_, AccountsTotal? total})
Returns a new AccountsUsage instance.

Properties

accounts ↔ List<RoutedUsage>
Accounts is one row per linked account the gateway actually routed through.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope ↔ String?
Scope is always "user": the caller's own linked accounts.
getter/setter pair
source_ ↔ String?
Source is always "routed": the gateway's own routed ledger.
getter/setter pair
total ↔ AccountsTotal?
Total is the honest sum across the rows.
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) → AccountsUsage?
Returns a new AccountsUsage instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<AccountsUsage>
mapFromJson(dynamic json) → Map<String, AccountsUsage>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<AccountsUsage>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.