EditFormatIfEnabledResult class
edit.formatIfEnabled result
{ "edits": List
Clients may not extend, implement or mix-in this class.
Constructors
-
EditFormatIfEnabledResult(List<
SourceFileEdit> edits) - EditFormatIfEnabledResult.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
-
factory
- EditFormatIfEnabledResult.fromResponse(Response response)
-
factory
Properties
-
edits
↔ List<
SourceFileEdit> -
The edit(s) to be applied in order to format the code. The list will be
empty if none of the files were formatted, whether because they were not
eligible to be formatted or because they were already formatted.
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