OrderStatus constructor

OrderStatus({
  1. OrderType? type,
  2. String? status,
  3. String? code,
  4. String? action,
  5. double? price,
  6. Int64? quantity,
  7. String? orderId,
  8. String? orderTime,
})

Implementation

factory OrderStatus({
  OrderType? type,
  $core.String? status,
  $core.String? code,
  $core.String? action,
  $core.double? price,
  $fixnum.Int64? quantity,
  $core.String? orderId,
  $core.String? orderTime,
}) {
  final $result = create();
  if (type != null) {
    $result.type = type;
  }
  if (status != null) {
    $result.status = status;
  }
  if (code != null) {
    $result.code = code;
  }
  if (action != null) {
    $result.action = action;
  }
  if (price != null) {
    $result.price = price;
  }
  if (quantity != null) {
    $result.quantity = quantity;
  }
  if (orderId != null) {
    $result.orderId = orderId;
  }
  if (orderTime != null) {
    $result.orderTime = orderTime;
  }
  return $result;
}