async saveModel() {
    if (this.model == null) {
      throw new Error('Cannot save model before creating model.');
    } else {
      return await this.model.save(this.modelSavePath_);
    }
  }
Save the model in IndexedDB.

@returns ModelInfo from the saving, if the saving succeeds.