Index constructor

Index({
  1. String? path,
  2. bool? unique,
})

Implementation

factory Index({
  $core.String? path,
  $core.bool? unique,
}) {
  final _result = create();
  if (path != null) {
    _result.path = path;
  }
  if (unique != null) {
    _result.unique = unique;
  }
  return _result;
}