'How to inheritance from a parent class with Freezed

How to inheritance from a parent class with freezed . with this class ??

class InformationDownlineModel :

class InformationDownlineModel extends InformationDownline {
  final Header? header;
  final Data? data;

  InformationDownlineModel({this.header, this.data})
  : super(
    agentName: data?.agentName,
    personresponsible: data?.personresponsible,
    phone: data?.phone,
    email: data?.email,
  );

class InformationDownline :

class InformationDownline extends Equatable {
 final String? agentName;
 final String? personresponsible;
 final String? phone;
 final String? email;

 InformationDownline({this.agentName, this.personresponsible, this.phone, this.email});

 @override
 List<Object?> get props => [agentName, personresponsible, phone, email];

}



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source