ReshardingInfo constructor
ReshardingInfo({
- int? shardId,
- Int64? peerId,
- ShardKey? shardKey,
- ReshardingDirection? direction,
Implementation
factory ReshardingInfo({
$core.int? shardId,
$fixnum.Int64? peerId,
ShardKey? shardKey,
ReshardingDirection? direction,
}) {
final $result = create();
if (shardId != null) {
$result.shardId = shardId;
}
if (peerId != null) {
$result.peerId = peerId;
}
if (shardKey != null) {
$result.shardKey = shardKey;
}
if (direction != null) {
$result.direction = direction;
}
return $result;
}