SnapshotIAVLItem constructor

SnapshotIAVLItem({
  1. List<int>? key,
  2. List<int>? value,
  3. Int64? version,
  4. int? height,
})

Implementation

factory SnapshotIAVLItem({
  $core.List<$core.int>? key,
  $core.List<$core.int>? value,
  $fixnum.Int64? version,
  $core.int? height,
}) {
  final _result = create();
  if (key != null) {
    _result.key = key;
  }
  if (value != null) {
    _result.value = value;
  }
  if (version != null) {
    _result.version = version;
  }
  if (height != null) {
    _result.height = height;
  }
  return _result;
}