getMultiLineMessageMap static method

Map<String, dynamic>? getMultiLineMessageMap({
  1. String? title,
  2. String? content,
})

Implementation

static Map<String, dynamic>? getMultiLineMessageMap(
    {String? title, String? content}) {
  if (title?.isNotEmpty == true) {
    return {
      CustomMessageKey.type: CustomMessageType.customMultiLineMessageType,
      CustomMessageKey.data: {
        ChatMessage.keyMultiLineTitle: title,
        ChatMessage.keyMultiLineBody: content
      }
    };
  }
  return null;
}