setContentId static method

dynamic setContentId(
  1. String contentId
)

Implementation

static setContentId(String contentId) {
  if (contentId.isEmpty) {
    ConscentMethods()
        .onPluginError("Content ID is invalid, please check again");
  }
  mContentId = contentId;
}