freezed

Flutter - Error implementing interface with Freezed

蹲街弑〆低调 提交于 2021-02-20 05:15:13
问题 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';

Flutter - Error implementing interface with Freezed

天涯浪子 提交于 2021-02-20 05:12:53
问题 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';