Category constructor

const Category({
  1. Input<String>? categoryId,
  2. Input<String>? name,
})

Creates a new Category. categoryId The identifier of the category. name The localized name of the category.

Implementation

const Category({
  this.categoryId,
  this.name,
});