CustomAction class abstract

Implementers
Annotations
  • @freezed

Constructors

CustomAction.budget({required DateTime date, @Default('budget') String type, @Default([]) List values, String? comment, @Default({}) Map<String, MetaValue> metadata})
factory
CustomAction.custom({required DateTime date, required String type, @Default([]) List values, String? comment, @Default({}) Map<String, MetaValue> metadata})
factory

Properties

comment String?
no setterinherited
copyWith → $CustomActionCopyWith<CustomAction>
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
values List
no setterinherited

Methods

map<TResult extends Object?>({required TResult custom(CustomCustomAction value), required TResult budget(BudgetAction value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? custom(CustomCustomAction value)?, TResult? budget(BudgetAction value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult custom(CustomCustomAction value)?, TResult budget(BudgetAction value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult custom(DateTime date, String type, List values, String? comment, Map<String, MetaValue> metadata)?, TResult budget(DateTime date, String type, List values, 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 custom(DateTime date, String type, List values, String? comment, Map<String, MetaValue> metadata), required TResult budget(DateTime date, String type, List values, String? comment, Map<String, MetaValue> metadata)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? custom(DateTime date, String type, List values, String? comment, Map<String, MetaValue> metadata)?, TResult? budget(DateTime date, String type, List values, String? comment, Map<String, MetaValue> metadata)?}) → TResult?
inherited

Operators

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