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
Hey @frank06 thanks for the great work. am having a small issue here trying to use freezed with flutter_data. Here is the log
lib/models/business.freezed.dart:231:7: Error: The non-abstract class '_$BusinessImpl' is missing implementations
for these members:
- _DataModel&Object&DataModelMixin.init
Try to either
- provide an implementation,
- inherit an implementation from a superclass or mixin,
- mark the class as abstract, or
- provide a 'noSuchMethod' implementation.
class _$BusinessImpl implements _Business {
^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/flutter_data-1.6.0/lib/src/model/data_model.dart:86:5: Context: 'Object with
DataModelMixin.init' is defined here.
T init() {
^^^^
Hi frank06. Trying out the latest release with freezed as well and getting the same compilation error. Is there an example with the mixin/freezed you mentioned?
Hey @frank06 thanks for the great work. am having a small issue here trying to use freezed with flutter_data. Here is the log
And here is my DataModel
Thanks in advance for any support. And by the way json_serializable is working well, so I just wanted to have extra features of freezed
The text was updated successfully, but these errors were encountered: