AddMessagePopup constructor Null safety

const AddMessagePopup(
  1. {Key? key,
  2. required String screenToken,
  3. Message? message}
)

message is optional to enable reuse of this popup for editing and creating.

Implementation

const AddMessagePopup({
  Key? key,
  required this.screenToken,
  this.message,
}) : super(key: key);