Operation constructor
Operation(
- String id,
- OperationStatus status,
- List<
OperationTrade> ? trades, - MoneyAmount? commission,
- Currency currency,
- double payment,
- double? price,
- int? quantity,
- int? quantityExecuted,
- String? figi,
- InstrumentType? instrumentType,
- DateTime date,
- OperationTypeWithCommission? operationType, {
- required bool isMarginCall,
Implementation
Operation(
this.id,
this.status,
this.trades,
this.commission,
this.currency,
this.payment,
this.price,
this.quantity,
this.quantityExecuted,
this.figi,
this.instrumentType,
this.date,
this.operationType, {
required this.isMarginCall,
});