SearchGetElementDeclarationsParams class
search.getElementDeclarations params
{ "file": optional FilePath "pattern": optional String "maxResults": optional int }
Clients may not extend, implement or mix-in this class.
Constructors
- SearchGetElementDeclarationsParams({String? file, String? pattern, int? maxResults})
- SearchGetElementDeclarationsParams.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
-
factory
- SearchGetElementDeclarationsParams.fromRequest(Request request)
-
factory
Properties
- file ↔ String?
-
If this field is provided, return only declarations in this file. If this
field is missing, return declarations in all files.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxResults ↔ int?
-
The maximum number of declarations to return. If this field is missing,
return all matching declarations.
getter/setter pair
- pattern ↔ String?
-
The regular expression used to match the names of declarations. If this
field is missing, return all declarations.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Returns a JSON presentation of the object.
-
toRequest(
String id) → Request -
Return a request whose parameters are taken from this object and that has
the given
id
. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override