IndexIn class
Constructors
Properties
-
files
↔ List<
FileInput> -
Files is the full set of files to index. Required and non-empty; max 20000 files, 1 MiB per file and 1 GiB in total. Unchanged files are skipped by content hash, so re-sending the whole tree is cheap.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- prune ↔ bool?
-
Prune deletes indexed files that are NOT in this request — which makes the call a full sync of the repo rather than an upsert. Only pass it when Files is the complete tree.
getter/setter pair
- repo ↔ String?
-
Repo is the repository label to index under. Required, max 200 bytes. It is a stored column value, not a filesystem path.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → IndexIn? -
Returns a new IndexIn instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< IndexIn> -
mapFromJson(
dynamic json) → Map< String, IndexIn> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< IndexIn> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.