getMessage method
Formats a message with an optional body for more info.
Implementation
String getMessage(String title, String? body) => body == null
? title : "$title\n $body".trim();
Formats a message with an optional body for more info.
String getMessage(String title, String? body) => body == null
? title : "$title\n $body".trim();