KeyModify constructor

KeyModify({
  1. Iterable<String>? keyPath,
  2. ModifyOp? modifyOp,
  3. String? modifyValue,
})

Implementation

factory KeyModify({
  $core.Iterable<$core.String>? keyPath,
  ModifyOp? modifyOp,
  $core.String? modifyValue,
}) {
  final result = create();
  if (keyPath != null) result.keyPath.addAll(keyPath);
  if (modifyOp != null) result.modifyOp = modifyOp;
  if (modifyValue != null) result.modifyValue = modifyValue;
  return result;
}