renderContent method

dynamic renderContent()

Implementation

dynamic renderContent() {
  var dialogContent = this.dialogContent;
  if (dialogContent == null) return;

  if (dialogContent is Function()) {
    return dialogContent();
  } else {
    return dialogContent;
  }
}