copyWith method

NotificationCount copyWith({
  1. num? total,
  2. String? message,
})

Implementation

NotificationCount copyWith({  num? total,
  String? message,
}) => NotificationCount(  total: total ?? _total,
  message: message ?? _message,
);