Flutter - Error implementing interface with Freezed
问题 I'm trying to programme to an interface with Freezed. I want to be able to specify all over my app, the type IUserRegistrationEntity ; My interface: abstract class IUserRegistrationEntity { String nickName; String email; String confirmEmail; String password; String confirmPassword; } My freezed class: import 'package:freezed_annotation/freezed_annotation.dart'; import 'package:vepo/domain/user_registration/i_user_registration_entity.dart'; part 'user_registration_entity.freezed.dart';