@@ -255,6 +255,7 @@ abstract class Domain {
255255 }
256256 }
257257
258+ @override
258259 String toString () => 'Domain ${name }' ;
259260}
260261
@@ -283,6 +284,7 @@ class RequestError {
283284
284285 RequestError (this .method, this .code, this .message, {this .stackTrace});
285286
287+ @override
286288 String toString () =>
287289 '[Analyzer RequestError method: ${method }, code: ${code }, message: ${message }]' ;
288290}
@@ -2460,6 +2462,7 @@ class AddContentOverlay extends ContentOverlayType implements Jsonable {
24602462
24612463 AddContentOverlay (this .content) : super ('add' );
24622464
2465+ @override
24632466 Map toMap () => _stripNullValues ({'type' : type, 'content' : content});
24642467}
24652468
@@ -2520,6 +2523,7 @@ class AnalysisError {
25202523 this .severity, this .type, this .location, this .message, this .code,
25212524 {this .correction, this .url, this .contextMessages, this .hasFix});
25222525
2526+ @override
25232527 bool operator == (o) =>
25242528 o is AnalysisError &&
25252529 severity == o.severity &&
@@ -2532,13 +2536,15 @@ class AnalysisError {
25322536 contextMessages == o.contextMessages &&
25332537 hasFix == o.hasFix;
25342538
2539+ @override
25352540 int get hashCode =>
25362541 severity.hashCode ^
25372542 type.hashCode ^
25382543 location.hashCode ^
25392544 message.hashCode ^
25402545 code.hashCode;
25412546
2547+ @override
25422548 String toString () =>
25432549 '[AnalysisError severity: ${severity }, type: ${type }, location: ${location }, message: ${message }, code: ${code }]' ;
25442550}
@@ -2619,6 +2625,7 @@ class AnalysisOptions implements Jsonable {
26192625 this .generateHints,
26202626 this .generateLints});
26212627
2628+ @override
26222629 Map toMap () => _stripNullValues ({
26232630 'enableAsync' : enableAsync,
26242631 'enableDeferredLoading' : enableDeferredLoading,
@@ -2646,6 +2653,7 @@ class AnalysisStatus {
26462653
26472654 AnalysisStatus (this .isAnalyzing, {this .analysisTarget});
26482655
2656+ @override
26492657 String toString () => '[AnalysisStatus isAnalyzing: ${isAnalyzing }]' ;
26502658}
26512659
@@ -2792,6 +2800,7 @@ class ChangeContentOverlay extends ContentOverlayType implements Jsonable {
27922800
27932801 ChangeContentOverlay (this .edits) : super ('change' );
27942802
2803+ @override
27952804 Map toMap () => _stripNullValues ({'type' : type, 'edits' : edits});
27962805}
27972806
@@ -3007,6 +3016,7 @@ class CompletionSuggestion implements Jsonable {
30073016 this .libraryUri,
30083017 this .isNotImported});
30093018
3019+ @override
30103020 Map toMap () => _stripNullValues ({
30113021 'kind' : kind,
30123022 'relevance' : relevance,
@@ -3035,6 +3045,7 @@ class CompletionSuggestion implements Jsonable {
30353045 'isNotImported' : isNotImported
30363046 });
30373047
3048+ @override
30383049 String toString () =>
30393050 '[CompletionSuggestion kind: ${kind }, relevance: ${relevance }, completion: ${completion }, selectionOffset: ${selectionOffset }, selectionLength: ${selectionLength }, isDeprecated: ${isDeprecated }, isPotential: ${isPotential }]' ;
30403051}
@@ -3139,6 +3150,7 @@ class Element implements Jsonable {
31393150 this .typeParameters,
31403151 this .aliasedType});
31413152
3153+ @override
31423154 Map toMap () => _stripNullValues ({
31433155 'kind' : kind,
31443156 'name' : name,
@@ -3150,6 +3162,7 @@ class Element implements Jsonable {
31503162 'aliasedType' : aliasedType
31513163 });
31523164
3165+ @override
31533166 String toString () =>
31543167 '[Element kind: ${kind }, name: ${name }, flags: ${flags }]' ;
31553168}
@@ -3510,6 +3523,7 @@ class FlutterWidgetPropertyValue implements Jsonable {
35103523 this .enumValue,
35113524 this .expression});
35123525
3526+ @override
35133527 Map toMap () => _stripNullValues ({
35143528 'boolValue' : boolValue,
35153529 'doubleValue' : doubleValue,
@@ -3741,6 +3755,7 @@ class ImportedElements implements Jsonable {
37413755
37423756 ImportedElements (this .path, this .prefix, this .elements);
37433757
3758+ @override
37443759 Map toMap () =>
37453760 _stripNullValues ({'path' : path, 'prefix' : prefix, 'elements' : elements});
37463761}
@@ -3811,6 +3826,7 @@ class LibraryPathSet implements Jsonable {
38113826
38123827 LibraryPathSet (this .scope, this .libraryPaths);
38133828
3829+ @override
38143830 Map toMap () =>
38153831 _stripNullValues ({'scope' : scope, 'libraryPaths' : libraryPaths});
38163832}
@@ -3849,6 +3865,7 @@ class LinkedEditGroup {
38493865
38503866 LinkedEditGroup (this .positions, this .length, this .suggestions);
38513867
3868+ @override
38523869 String toString () =>
38533870 '[LinkedEditGroup positions: ${positions }, length: ${length }, suggestions: ${suggestions }]' ;
38543871}
@@ -3906,6 +3923,7 @@ class Location implements Jsonable {
39063923 this .file, this .offset, this .length, this .startLine, this .startColumn,
39073924 {this .endLine, this .endColumn});
39083925
3926+ @override
39093927 Map toMap () => _stripNullValues ({
39103928 'file' : file,
39113929 'offset' : offset,
@@ -3916,6 +3934,7 @@ class Location implements Jsonable {
39163934 'endColumn' : endColumn
39173935 });
39183936
3937+ @override
39193938 bool operator == (o) =>
39203939 o is Location &&
39213940 file == o.file &&
@@ -3926,13 +3945,15 @@ class Location implements Jsonable {
39263945 endLine == o.endLine &&
39273946 endColumn == o.endColumn;
39283947
3948+ @override
39293949 int get hashCode =>
39303950 file.hashCode ^
39313951 offset.hashCode ^
39323952 length.hashCode ^
39333953 startLine.hashCode ^
39343954 startColumn.hashCode;
39353955
3956+ @override
39363957 String toString () =>
39373958 '[Location file: ${file }, offset: ${offset }, length: ${length }, startLine: ${startLine }, startColumn: ${startColumn }]' ;
39383959}
@@ -3950,6 +3971,7 @@ class MessageAction implements Jsonable {
39503971
39513972 MessageAction (this .label);
39523973
3974+ @override
39533975 Map toMap () => _stripNullValues ({'label' : label});
39543976}
39553977
@@ -3973,6 +3995,7 @@ class NavigationRegion {
39733995
39743996 NavigationRegion (this .offset, this .length, this .targets);
39753997
3998+ @override
39763999 String toString () =>
39774000 '[NavigationRegion offset: ${offset }, length: ${length }, targets: ${targets }]' ;
39784001}
@@ -4016,6 +4039,7 @@ class NavigationTarget {
40164039 this .startLine, this .startColumn,
40174040 {this .codeOffset, this .codeLength});
40184041
4042+ @override
40194043 String toString () =>
40204044 '[NavigationTarget kind: ${kind }, fileIndex: ${fileIndex }, offset: ${offset }, length: ${length }, startLine: ${startLine }, startColumn: ${startColumn }]' ;
40214045}
@@ -4163,6 +4187,7 @@ class Position {
41634187
41644188 Position (this .file, this .offset);
41654189
4190+ @override
41664191 String toString () => '[Position file: ${file }, offset: ${offset }]' ;
41674192}
41684193
@@ -4197,6 +4222,7 @@ class PubStatus {
41974222
41984223 PubStatus (this .isListingPackageDirs);
41994224
4225+ @override
42004226 String toString () =>
42014227 '[PubStatus isListingPackageDirs: ${isListingPackageDirs }]' ;
42024228}
@@ -4265,6 +4291,7 @@ class RemoveContentOverlay extends ContentOverlayType implements Jsonable {
42654291
42664292 RemoveContentOverlay () : super ('remove' );
42674293
4294+ @override
42684295 Map toMap () => _stripNullValues ({'type' : type});
42694296}
42704297
@@ -4293,6 +4320,7 @@ class RuntimeCompletionExpression implements Jsonable {
42934320
42944321 RuntimeCompletionExpression (this .offset, this .length, {this .type});
42954322
4323+ @override
42964324 Map toMap () =>
42974325 _stripNullValues ({'offset' : offset, 'length' : length, 'type' : type});
42984326}
@@ -4375,6 +4403,7 @@ class RuntimeCompletionVariable implements Jsonable {
43754403
43764404 RuntimeCompletionVariable (this .name, this .type);
43774405
4406+ @override
43784407 Map toMap () => _stripNullValues ({'name' : name, 'type' : type});
43794408}
43804409
@@ -4407,6 +4436,7 @@ class SearchResult {
44074436
44084437 SearchResult (this .location, this .kind, this .isPotential, this .path);
44094438
4439+ @override
44104440 String toString () =>
44114441 '[SearchResult location: ${location }, kind: ${kind }, isPotential: ${isPotential }, path: ${path }]' ;
44124442}
@@ -4471,6 +4501,7 @@ class SourceChange {
44714501 SourceChange (this .message, this .edits, this .linkedEditGroups,
44724502 {this .selection, this .selectionLength, this .id});
44734503
4504+ @override
44744505 String toString () =>
44754506 '[SourceChange message: ${message }, edits: ${edits }, linkedEditGroups: ${linkedEditGroups }]' ;
44764507}
@@ -4502,13 +4533,15 @@ class SourceEdit implements Jsonable {
45024533
45034534 SourceEdit (this .offset, this .length, this .replacement, {this .id});
45044535
4536+ @override
45054537 Map toMap () => _stripNullValues ({
45064538 'offset' : offset,
45074539 'length' : length,
45084540 'replacement' : replacement,
45094541 'id' : id
45104542 });
45114543
4544+ @override
45124545 String toString () =>
45134546 '[SourceEdit offset: ${offset }, length: ${length }, replacement: ${replacement }]' ;
45144547}
@@ -4536,6 +4569,7 @@ class SourceFileEdit {
45364569
45374570 SourceFileEdit (this .file, this .fileStamp, this .edits);
45384571
4572+ @override
45394573 String toString () => '[SourceFileEdit file: ${file }, edits: ${edits }]' ;
45404574}
45414575
@@ -4622,6 +4656,7 @@ class ExtractLocalVariableRefactoringOptions extends RefactoringOptions {
46224656
46234657 ExtractLocalVariableRefactoringOptions ({this .name, this .extractAll});
46244658
4659+ @override
46254660 Map toMap () => _stripNullValues ({'name' : name, 'extractAll' : extractAll});
46264661}
46274662
@@ -4661,6 +4696,7 @@ class ExtractMethodRefactoringOptions extends RefactoringOptions {
46614696 this .parameters,
46624697 this .extractAll});
46634698
4699+ @override
46644700 Map toMap () => _stripNullValues ({
46654701 'returnType' : returnType,
46664702 'createGetter' : createGetter,
@@ -4679,6 +4715,7 @@ class ExtractWidgetRefactoringOptions extends RefactoringOptions {
46794715
46804716 ExtractWidgetRefactoringOptions ({this .name});
46814717
4718+ @override
46824719 Map toMap () => _stripNullValues ({'name' : name});
46834720}
46844721
@@ -4697,6 +4734,7 @@ class InlineMethodRefactoringOptions extends RefactoringOptions {
46974734
46984735 InlineMethodRefactoringOptions ({this .deleteSource, this .inlineAll});
46994736
4737+ @override
47004738 Map toMap () =>
47014739 _stripNullValues ({'deleteSource' : deleteSource, 'inlineAll' : inlineAll});
47024740}
@@ -4719,6 +4757,7 @@ class MoveFileRefactoringOptions extends RefactoringOptions {
47194757
47204758 MoveFileRefactoringOptions ({this .newFile});
47214759
4760+ @override
47224761 Map toMap () => _stripNullValues ({'newFile' : newFile});
47234762}
47244763
@@ -4733,6 +4772,7 @@ class RenameRefactoringOptions extends RefactoringOptions {
47334772
47344773 RenameRefactoringOptions ({this .newName});
47354774
4775+ @override
47364776 Map toMap () => _stripNullValues ({'newName' : newName});
47374777}
47384778
0 commit comments