ReferencedModel.optional constructor

const ReferencedModel.optional({
  1. String? id,
  2. DataRefModel? ref,
})

Construcs a new instance of ReferencedModel, forcing all parameters to be optional.

Implementation

const ReferencedModel.optional({
  this.id,
  this.ref,
});