Skip to content

Errant [ character makes a required argument look optional #2082

@natebosch

Description

@natebosch

https://api.dart.dev/stable/2.6.1/dart-core/Uri/Uri.https.html

Uri.https(
    String authority, [
    String unencodedPath, [
    Map<String, String> queryParameters
])

The [ before String unencodedPath made me think it was part of the optional positional arguments, but it is a required argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions