copyWith method

NotificationIcon copyWith({
  1. String? metaDataName,
  2. Color? backgroundColor,
})

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,
    );