copyWith method
Creates a copy of the object replaced with new values.
Implementation
NotificationIcon copyWith({
String? metaDataName,
Color? backgroundColor,
}) =>
NotificationIcon(
metaDataName: metaDataName ?? this.metaDataName,
backgroundColor: backgroundColor ?? this.backgroundColor,
);