Skip to content

AddVersion

An RPC request for ProtocolService.addVersion.

Inheritance
Annotations

Constructors

AddVersion.fromJson

AddVersion.fromJson(
  1. Map<String, dynamic> json
)

AddVersion

AddVersion(
  1. StudyProtocol protocol,
  2. String? versionTag
)

Properties

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.