Operation constructor

Operation(
  1. String id,
  2. OperationStatus status,
  3. List<OperationTrade>? trades,
  4. MoneyAmount? commission,
  5. Currency currency,
  6. double payment,
  7. double? price,
  8. int? quantity,
  9. int? quantityExecuted,
  10. String? figi,
  11. InstrumentType? instrumentType,
  12. DateTime date,
  13. OperationTypeWithCommission? operationType, {
  14. 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,
});