directChatDemoData top-level constant
List<Map<String, Object>> const directChatDemoData
<p>This file contains demo data.</p> <p>It contains a list of type Map<String, Object> and sample data of chats.</p>
Implementation
const directChatDemoData = [
\{
"sender": \{
"name": "Sender 1",
"id": "sadiufghbasdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"lastMessage": \{
"sender": \{
"name": "Sender Name",
"id": "sadiufghbasdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"messageID": "asdasdfasdfgasdf",
"text": "Last message from the sender.",
"bool": "True"
\},
"unreadCount": 6,
\},
\{
"sender": \{
"name": "Sender 2",
"id": "sadiufghbasdqwuibnnads",
"image": "sender_profile_inmage_url"
\},
"lastMessage": \{
"sender": \{
"name": "Sender name",
"id": "sadiufghbasdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"messageID": "asdasdfasdfgasdf",
"text": "Last message from the sender.",
"bool": "True"
\},
"unreadCount": 6,
\},
\{
"sender": \{
"name": "Sender 8",
"id": "sadiusfgafghbasdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"lastMessage": \{
"sender": \{
"name": "Sender Name",
"id": "sadiufghbasdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"messageID": "asdasdfasdfgasdf",
"text": "Latest message",
"bool": "True"
\},
"unreadCount": 3,
\},
\{
"sender": \{
"name": "Sender 7",
"id": "sasdasddiufghbasdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"lastMessage": \{
"sender": \{
"name": "Sender Name",
"id": "sadiufghbasdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"messageID": "asdasdfasdfgasdf",
"text": "Latest message",
"bool": "True"
\},
"unreadCount": 3,
\},
\{
"sender": \{
"name": "Sender 6",
"id": "sadiufghbassadasddqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"lastMessage": \{
"sender": \{
"name": "Sender Name",
"id": "sadiufghbasdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"messageID": "asdasdfasdfgasdf",
"text": "Latest message",
"bool": "True"
\},
"unreadCount": 3,
\},
\{
"sender": \{
"name": "Sender 5",
"id": "sadiufghbasdqwsaduibnuads",
"image": "sender_profile_inmage_url"
\},
"lastMessage": \{
"sender": \{
"name": "Sender 5",
"id": "sadiufghbasdqwdfdibnuads",
"image": "sender_profile_inmage_url"
\},
"messageID": "asdasdfasdfgasdf",
"text": "Latest message",
"bool": "True"
\},
"unreadCount": 3,
\},
\{
"sender": \{
"name": "Sender 4",
"id": "sadiufghbsdasdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"lastMessage": \{
"sender": \{
"name": "Sender Name",
"id": "sadiufghbasdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"messageID": "asdasdfasdfgasdf",
"text": "Latest message",
"bool": "True"
\},
"unreadCount": 3,
\},
\{
"sender": \{
"name": "Sender 41",
"id": "sadiufghbadgsdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"lastMessage": \{
"sender": \{
"name": "Sender Name",
"id": "sadiufghbasdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"messageID": "asdasdfasdfgasdf",
"text": "Latest message",
"bool": "True"
\},
"unreadCount": 1,
\},
\{
"sender": \{
"name": "Sender 13",
"id": "sadiufghbadsfsdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"lastMessage": \{
"sender": \{
"name": "Sender Name",
"id": "sadiufghbasdqwuibnuads",
"image": "sender_profile_inmage_url"
\},
"messageID": "asdasdfasdfgasdf",
"text": "Latest message",
"bool": "True"
\},
"unreadCount": 8,
\},
];