You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No mapper is generated for an enum when the enum isn't used in any class and has its own file, but has fields annotated with @JsonValue. Since @JsonSerializable is allowed only on classes, not enums, there's no way to deserialize such enums.
Enum also has part x.g.dart, but it's never generated.
The text was updated successfully, but these errors were encountered:
No mapper is generated for an enum when the enum isn't used in any class and has its own file, but has fields annotated with
@JsonValue
. Since@JsonSerializable
is allowed only on classes, not enums, there's no way to deserialize such enums.Enum also has
part x.g.dart
, but it's never generated.The text was updated successfully, but these errors were encountered: