OrderStatus constructor
OrderStatus({})
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;
}