VendorRow class
Constructors
Properties
-
aliases
↔ List<
String> -
Aliases are the other spellings a receipt may print the vendor under; a scan matching any of them resolves to this vendor.
getter/setter pair
- canonical ↔ String?
-
Canonical is the vendor's one true name, and the key an upsert writes by.
getter/setter pair
- defaultCategory ↔ String?
-
DefaultCategory is the COA expense account new bills from this vendor book to. An upsert normalizes a slug ("software") to its account number.
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
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) → VendorRow? -
Returns a new VendorRow instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< VendorRow> -
mapFromJson(
dynamic json) → Map< String, VendorRow> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< VendorRow> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.