Version class

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

Annotations

Constructors

Version(String rosettaVersion, String nodeVersion, String? middlewareVersion, Map<String, dynamic>? metadata)
const
Version.fromJson(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.
final
middlewareVersion 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.
final
nodeVersion String
The node_version is the canonical version of the node runtime. This can help clients manage deployments.
final
rosettaVersion 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.
final
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