makeMessage
TypeScriptstatic makeMessage(notification: _Foundation_Notification): Promise<(UIAccessibility_ShakeToUndoDidChangeMessage) | null>Swift declaration@MainActor static func makeMessage(_ notification: Notification) -> UIAccessibility.ShakeToUndoDidChangeMessage?Converts a posted notification into this main actor message type for any observers. To implement this method in your own `MainActorMessage` conformance, retrieve values from the ``Notification``'s ``Notification/userInfo`` and set them as properties on the message. - Parameter notification: The posted ``Notification``. - Returns: The converted `MainActorMessage` or `nil` if conversion is not possible.