Skip to content

Add

An RPC request for ProtocolService.add.

Inheritance
Implementers
Annotations

Constructors

Add.fromJson

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

Add

Add(
  1. StudyProtocol protocol, [
  2. String? versionTag
])

Create a new add request. If versionTag is null the version tag is current timestamp.

Properties

fromJsonFunction

Function get fromJsonFunction
override

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

protocol

StudyProtocol protocol
final

versionTag

String? versionTag
getter/setter pair

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.