build method

MedTechApi build()

Implementation

MedTechApi build() {
  if (_iCureBasePath == null || _userName == null || _password == null) {
    throw FormatException("Missing mandatory information [iCureBasePath, userName & password] to build valid MedTechApi");
  }

  return MedTechApi(
      _iCureBasePath!,
      _userName!,
      _password!,
      _rsaKeyPairs,
      _authServerUrl,
      _authProcessId
  );
}