MLess constructor

MLess({
  1. ModelLess? model,
})

Creates an instance of MLess with the specified ModelLess object.

If no ModelLess object is provided, a default instance is created using an empty JSON string.

model The optional ModelLess object to initialize with. If null, a default instance will be used.

Implementation

MLess({ModelLess? model}) {
  this.model = model ?? ModelLess.fromJson("{}");
}