AccountAction class abstract

Implementers
Annotations
  • @freezed

Constructors

AccountAction.close({required DateTime date, required String type, required Account account, @Default([]) List<String> currencies, String? bookingMethod, String? comment, @Default({}) Map<String, MetaValue> metadata})
factory
AccountAction.open({required DateTime date, required String type, required Account account, @Default([]) List<String> currencies, String? bookingMethod, String? comment, @Default({}) Map<String, MetaValue> metadata})
factory

Properties

account Account
no setterinherited
bookingMethod String?
no setterinherited
comment String?
no setterinherited
copyWith → $AccountActionCopyWith<AccountAction>
no setterinherited
currencies List<String>
no setterinherited
date DateTime
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, MetaValue>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify String
no setter
type String
no setterinherited

Methods

map<TResult extends Object?>({required TResult open(AccountOpenAction value), required TResult close(AccountCloseAction value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? open(AccountOpenAction value)?, TResult? close(AccountCloseAction value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult open(AccountOpenAction value)?, TResult close(AccountCloseAction value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult open(DateTime date, String type, Account account, List<String> currencies, String? bookingMethod, String? comment, Map<String, MetaValue> metadata)?, TResult close(DateTime date, String type, Account account, List<String> currencies, String? bookingMethod, String? comment, Map<String, MetaValue> metadata)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult open(DateTime date, String type, Account account, List<String> currencies, String? bookingMethod, String? comment, Map<String, MetaValue> metadata), required TResult close(DateTime date, String type, Account account, List<String> currencies, String? bookingMethod, String? comment, Map<String, MetaValue> metadata)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? open(DateTime date, String type, Account account, List<String> currencies, String? bookingMethod, String? comment, Map<String, MetaValue> metadata)?, TResult? close(DateTime date, String type, Account account, List<String> currencies, String? bookingMethod, String? comment, Map<String, MetaValue> metadata)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited