I am using an extension for creating flutter class and I want to use equatable with it but it seem like it doesn't support nullable, is there a way to use it or do I have to use the generate equatable that the extension provide.
CodePudding user response:
you problem is in List<Object>
which is not using ?
, try this:
@override
List<Object?> get props => [name, surename];
CodePudding user response:
props
accept nullable data, change like
List<Object?> get props => [];