[{
"owner": "_generated_diagnostic_collection_name_#5",
"code": {
"value": "undefined_getter",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_getter",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The getter 'dx' isn't defined for the type 'ImageOffset'.\nTry importing the library that defines 'dx', correcting the name to the name of an existing getter, or defining a getter or field named 'dx'.",
"source": "dart",
"startLineNumber": 170,
"startColumn": 28,
"endLineNumber": 170,
"endColumn": 30
},{
"owner": "_generated_diagnostic_collection_name_#5",
"code": {
"value": "undefined_getter",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_getter",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The getter 'dx' isn't defined for the type 'ImageOffset'.\nTry importing the library that defines 'dx', correcting the name to the name of an existing getter, or defining a getter or field named 'dx'.",
"source": "dart",
"startLineNumber": 170,
"startColumn": 39,
"endLineNumber": 170,
"endColumn": 41
},{
"owner": "_generated_diagnostic_collection_name_#5",
"code": {
"value": "undefined_getter",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_getter",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The getter 'dy' isn't defined for the type 'ImageOffset'.\nTry importing the library that defines 'dy', correcting the name to the name of an existing getter, or defining a getter or field named 'dy'.",
"source": "dart",
"startLineNumber": 170,
"startColumn": 52,
"endLineNumber": 170,
"endColumn": 54
},{
"owner": "_generated_diagnostic_collection_name_#5",
"code": {
"value": "undefined_getter",
"target": {
"$mid": 1,
"path": "/diagnostics/undefined_getter",
"scheme": "https",
"authority": "dart.dev"
}
},
"severity": 8,
"message": "The getter 'dy' isn't defined for the type 'ImageOffset'.\nTry importing the library that defines 'dy', correcting the name to the name of an existing getter, or defining a getter or field named 'dy'.",
"source": "dart",
"startLineNumber": 170,
"startColumn": 63,
"endLineNumber": 170,
"endColumn": 65
}]
Having difficulties figuring out how to add artihmetic operators to a freezed class. See below:
Gives the following errors:
Thanks