Add constructor Null safety

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

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

Implementation

Add(this.protocol, this.versionTag) : super() {
  versionTag ??= DateTime.now().toUtc().toString();
}