copyWithWrapped method

Meta copyWithWrapped({
  1. Wrapped<String>? name,
  2. Wrapped<String>? officialName,
  3. Wrapped<double>? limit,
  4. Wrapped<String>? mask,
})

Implementation

Meta copyWithWrapped(
    {Wrapped<String>? name,
    Wrapped<String>? officialName,
    Wrapped<double>? limit,
    Wrapped<String>? mask}) {
  return Meta(
      name: (name != null ? name.value : this.name),
      officialName:
          (officialName != null ? officialName.value : this.officialName),
      limit: (limit != null ? limit.value : this.limit),
      mask: (mask != null ? mask.value : this.mask));
}