copyWith method
Implementation
ChannelModel copyWith({
String? channelId,
String? channelName,
String? channelDescription,
String? channelImage,
bool? channelIsConnected,
GetSocialAccountData? socialAccountData,
}) {
return ChannelModel(
channelId: channelId ?? this.channelId,
channelName: channelName ?? this.channelName,
channelDescription: channelDescription ?? this.channelDescription,
channelImage: channelImage ?? this.channelImage,
channelIsConnected: channelIsConnected ?? this.channelIsConnected,
socialAccountData: socialAccountData ?? this.socialAccountData,
);
}