Position class abstract

Annotations
  • @freezed

Constructors

Position({required Money unit, Cost? cost, @Default(false) bool isAbsoluteCost, Money? price, @Default(false) bool isAbsolutePrice})
factory

Properties

copyWith → $PositionCopyWith<Position>
no setterinherited
cost Cost?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isAbsoluteCost bool
no setterinherited
isAbsolutePrice bool
no setterinherited
price → Money?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify String
no setter
unit → Money
no setterinherited

Methods

balance(DateTime tansactionDate) Position
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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