Skip to content

[Json to Object Polymorphism] generated error file #13

@normidar

Description

@normidar

I tried https://pub.dev/packages/morphy#json-to-object-polymorphism but it generated a file that inculde errors.

[SEVERE] morphy on lib/src/drawer/base/color/pure_color.dart (cached):
An error `FormatterException` occurred while formatting the generated source for
  `package:image_gen/src/drawer/base/color/pure_color.dart`
which was output to
  `lib/src/drawer/base/color/pure_color.morphy.dart`.
This may indicate an issue in the generator, the input source code, or in the
source formatter.
Could not format because the source could not be parsed:

line 140, column 1 of .: Expected to find '}'.

140 │ ) {
    │ ^

line 153, column 1 of .: Expected to find '}'.

153 │ ) {
    │ ^

[SEVERE] Failed after 2.6s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions