toMap method

Map<String, Object?> toMap()

Implementation

Map<String, Object?> toMap() => _convertDefaultStyleInformationToMap(this)
  ..addAll(<String, Object?>{
    'person': person.toMap(),
    'conversationTitle': conversationTitle,
    'groupConversation': groupConversation,
    'messages': messages
        ?.map((m) => m.toMap()) // ignore: always_specify_types
        .toList()
  });