SummaryCard constructor Null safety

const SummaryCard(
  1. dynamic _product,
  2. dynamic _productPreferences,
  3. {bool isFullVersion = false,
  4. bool showUnansweredQuestions = false,
  5. dynamic refreshProductCallback(
    1. dynamic
    )?,
  6. bool isRemovable = true}
)

Implementation

const SummaryCard(
  this._product,
  this._productPreferences, {
  this.isFullVersion = false,
  this.showUnansweredQuestions = false,
  this.refreshProductCallback,
  this.isRemovable = true,
});