Item constructor
Item({
- String? owner,
- String? cookbookId,
- String? id,
- Int64? nodeVersion,
- Iterable<
DoubleKeyValue> ? doubles, - Iterable<
LongKeyValue> ? longs, - Iterable<
StringKeyValue> ? strings, - Iterable<
StringKeyValue> ? mutableStrings, - bool? tradeable,
- Int64? lastUpdate,
- Iterable<
Coin> ? transferFee, - String? tradePercentage,
- Int64? createdAt,
- Int64? updatedAt,
- String? recipeId,
Implementation
factory Item({
$core.String? owner,
$core.String? cookbookId,
$core.String? id,
$fixnum.Int64? nodeVersion,
$core.Iterable<DoubleKeyValue>? doubles,
$core.Iterable<LongKeyValue>? longs,
$core.Iterable<StringKeyValue>? strings,
$core.Iterable<StringKeyValue>? mutableStrings,
$core.bool? tradeable,
$fixnum.Int64? lastUpdate,
$core.Iterable<$2.Coin>? transferFee,
$core.String? tradePercentage,
$fixnum.Int64? createdAt,
$fixnum.Int64? updatedAt,
$core.String? recipeId,
}) {
final _result = create();
if (owner != null) {
_result.owner = owner;
}
if (cookbookId != null) {
_result.cookbookId = cookbookId;
}
if (id != null) {
_result.id = id;
}
if (nodeVersion != null) {
_result.nodeVersion = nodeVersion;
}
if (doubles != null) {
_result.doubles.addAll(doubles);
}
if (longs != null) {
_result.longs.addAll(longs);
}
if (strings != null) {
_result.strings.addAll(strings);
}
if (mutableStrings != null) {
_result.mutableStrings.addAll(mutableStrings);
}
if (tradeable != null) {
_result.tradeable = tradeable;
}
if (lastUpdate != null) {
_result.lastUpdate = lastUpdate;
}
if (transferFee != null) {
_result.transferFee.addAll(transferFee);
}
if (tradePercentage != null) {
_result.tradePercentage = tradePercentage;
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (updatedAt != null) {
_result.updatedAt = updatedAt;
}
if (recipeId != null) {
_result.recipeId = recipeId;
}
return _result;
}