copyWith method

MessageSendOptions copyWith({
  1. bool? disableNotification,
  2. bool? fromBackground,
  3. bool? protectContent,
  4. MessageSchedulingState? schedulingState,
})

Implementation

MessageSendOptions copyWith({
  bool? disableNotification,
  bool? fromBackground,
  bool? protectContent,
  MessageSchedulingState? schedulingState,
}) => MessageSendOptions(
  disableNotification: disableNotification ?? this.disableNotification,
  fromBackground: fromBackground ?? this.fromBackground,
  protectContent: protectContent ?? this.protectContent,
  schedulingState: schedulingState ?? this.schedulingState,
);