copyWithWrapped method

URLAvatar copyWithWrapped({
  1. Wrapped<String?>? type,
  2. Wrapped<String?>? customUrl,
})

Implementation

URLAvatar copyWithWrapped(
    {Wrapped<String?>? type, Wrapped<String?>? customUrl}) {
  return URLAvatar(
      type: (type != null ? type.value : this.type),
      customUrl: (customUrl != null ? customUrl.value : this.customUrl));
}