IndexVersion class

Constructors

IndexVersion({String? commitDate, String? commitSha, String? pkgVersion})
Returns a new IndexVersion instance.

Properties

commitDate ↔ String?
CommitDate is empty here: this surface is a dialect implementation, not a build of Meilisearch, so there is no upstream commit to date.
getter/setter pair
commitSha ↔ String?
CommitSha names the implementation (hanzo-cloud) rather than a build hash, so a client logging it records which server answered instead of implying a Meilisearch release.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
pkgVersion ↔ String?
PkgVersion is this dialect implementation's own version.
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) → IndexVersion?
Returns a new IndexVersion instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<IndexVersion>
mapFromJson(dynamic json) → Map<String, IndexVersion>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<IndexVersion>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.