EditImportElementsResult class
edit.importElements result
{ "edit": optional SourceFileEdit }
Clients may not extend, implement or mix-in this class.
Constructors
- EditImportElementsResult({SourceFileEdit? edit})
- EditImportElementsResult.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
-
factory
- EditImportElementsResult.fromResponse(Response response)
-
factory
Properties
- edit ↔ SourceFileEdit?
-
The edits to be applied in order to make the specified elements
accessible. The file to be edited will be the defining compilation unit
of the library containing the file specified in the request, which can be
different than the file specified in the request if the specified file is
a part file. This field will be omitted if there are no edits that need
to be applied.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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.
-
toResponse(
String id) → Response -
Return a response whose result data is this object for the request with the
given
id
. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override