Account class
- Available extensions
- Annotations
-
- @JsonSerializable.new(explicitToJson: true)
Constructors
- Account({required String id, required String name, required AccountType type, required bool onBudget, required bool closed, String? note, required num balance, required num clearedBalance, required num unclearedBalance, required String transferPayeeId, bool? directImportLinked, bool? directImportInError, required bool deleted})
-
Account.fromJson(Map<
String, dynamic> json) -
factory
Properties
- balance → num
-
final
- clearedBalance → num
-
final
- closed → bool
-
final
- deleted → bool
-
final
- directImportInError → bool?
-
final
- directImportLinked → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
final
- name → String
-
final
- note → String?
-
final
- onBudget → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transferPayeeId → String
-
final
- type → AccountType
-
final
- unclearedBalance → num
-
final
Methods
-
copyWith(
{String? id, String? name, AccountType? type, bool? onBudget, bool? closed, String? note, num? balance, num? clearedBalance, num? unclearedBalance, String? transferPayeeId, bool? directImportLinked, bool? directImportInError, bool? deleted}) → Account -
Available on Account, provided by the $AccountExtension extension
-
copyWithWrapped(
{Wrapped< String> ? id, Wrapped<String> ? name, Wrapped<AccountType> ? type, Wrapped<bool> ? onBudget, Wrapped<bool> ? closed, Wrapped<String?> ? note, Wrapped<num> ? balance, Wrapped<num> ? clearedBalance, Wrapped<num> ? unclearedBalance, Wrapped<String> ? transferPayeeId, Wrapped<bool?> ? directImportLinked, Wrapped<bool?> ? directImportInError, Wrapped<bool> ? deleted}) → Account -
Available on Account, provided by the $AccountExtension extension
-
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 ==(
dynamic other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const Account Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(Account instance)