DecoratedContentModel constructor Null safety

DecoratedContentModel(
  1. {required String documentID,
  2. required String appId,
  3. String? description,
  4. String? decoratingComponentName,
  5. String? decoratingComponentId,
  6. String? contentComponentName,
  7. String? contentComponentId,
  8. DecorationComponentPosition? decorationComponentPosition,
  9. double? percentageDecorationVisible,
  10. StorageConditionsModel? conditions}
)

Implementation

DecoratedContentModel({
  required this.documentID,
  required this.appId,
  this.description,
  this.decoratingComponentName,
  this.decoratingComponentId,
  this.contentComponentName,
  this.contentComponentId,
  this.decorationComponentPosition,
  this.percentageDecorationVisible,
  this.conditions,
});