Skip to content

Commit a029172

Browse files
KNawmcommit-bot@chromium.org
authored andcommitted
Fix documentation for InternetAddress.lookup()
Closes #38808 #38808 GitOrigin-RevId: 23b6561 Change-Id: Iad5f38e140b201c4d8ea86d2769ae34e242ffc83 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/121040 Reviewed-by: Jonas Termansen <sortie@google.com> Commit-Queue: Jonas Termansen <sortie@google.com>
1 parent b942142 commit a029172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/lib/io/socket.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ abstract class InternetAddress {
149149

150150
/**
151151
* Lookup a host, returning a Future of a list of
152-
* [InternetAddress]s. If [type] is [InternetAddressType.ANY], it
152+
* [InternetAddress]s. If [type] is [InternetAddressType.any], it
153153
* will lookup both IP version 4 (IPv4) and IP version 6 (IPv6)
154154
* addresses. If [type] is either [InternetAddressType.IPv4] or
155155
* [InternetAddressType.IPv6] it will only lookup addresses of the

0 commit comments

Comments
 (0)