copyWithWrapped method

IdentityGetResponse copyWithWrapped({
  1. Wrapped<List<AccountIdentity>>? accounts,
  2. Wrapped<Item>? item,
  3. Wrapped<String>? requestId,
})

Implementation

IdentityGetResponse copyWithWrapped(
    {Wrapped<List<AccountIdentity>>? accounts,
    Wrapped<Item>? item,
    Wrapped<String>? requestId}) {
  return IdentityGetResponse(
      accounts: (accounts != null ? accounts.value : this.accounts),
      item: (item != null ? item.value : this.item),
      requestId: (requestId != null ? requestId.value : this.requestId));
}