Rails constructor

Rails({
  1. String? type,
  2. String? name,
  3. List<Contents>? contents,
  4. int? currentCarouselIndex,
  5. Data? data,
})

Implementation

Rails({
  this.type,
  this.name,
  this.contents,
  this.currentCarouselIndex,
  this.data,
});