ServerRpcVersion.build constructor

ServerRpcVersion.build(
  1. num rpcVersion,
  2. num minRpcVersion
)

Implementation

ServerRpcVersion.build(this.rpcVersion, this.minRpcVersion)
    : updateDate = DateTime.now().toUtc(),
      assert(rpcVersion >= minRpcVersion);