ot::Message::Settings::From() method
Converts a pointer to an `otMessageSettings` to a `Settings`.
Arguments
aSettings
A pointer to `otMessageSettings` to convert from. If it is `nullptr`, then the default settings `GetDefault()` will be used.
Return value
A reference to the converted `Settings` or the default if @p aSettings is `nullptr`.