Version class

The Version object is utilized to inform the client of the versions of different components of the Rosetta implementation.

Constructors

Version(String rosetta_version, String node_version, String? middleware_version, Map<String, dynamic>? metadata)
Version.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, dynamic>?
Any other information that may be useful about versioning of dependent services should be returned here.
getter/setter pair
middleware_version String?
When a middleware server is used to adhere to the Rosetta interface, it should return its version here. This can help clients manage deployments.
getter/setter pair
node_version String
The node_version is the canonical version of the node runtime. This can help clients manage deployments.
getter/setter pair
rosetta_version String
The rosetta_version is the version of the Rosetta interface the implementation adheres to. This can be useful for clients looking to reliably parse responses.
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited