pinnedPostsDemoData top-level constant
List<Map<String, Object>> const pinnedPostsDemoData
<p>This file contains demo data for pinned posts. It contains a list of type Map<String, Object> and sample data.</p>
Implementation
const pinnedPostsDemoData = [
\{
"_id": "1",
"text":
"Flutter is Google’s mobile UI framework for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.",
"createdAt": "2023-03-15T15:28:52.122Z",
"imageUrl": "image url string",
"creator": \{
"firstName": "Rutvik",
"lastName": "Chandla",
"id": "asdasdasd"
\},
"likedBy": [
\{"firstName": "User", "lastName": "1", "id": "asdasdasdas"\},
\{"firstName": "User", "lastName": "2", "id": "asdasdasdas"\},
\{"firstName": "User", "lastName": "3", "id": "asdasdasdas"\}
],
"comments": [
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
]
\},
\{
"_id": "2",
"text":
"Flutter is Google’s mobile UI framework for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.",
"createdAt": "2023-03-15T15:28:52.122Z",
"imageUrl": "image url string",
"creator": \{
"firstName": "Ranchhod Das",
"lastName": "Chanchad",
"id": "asdasdasd"
\},
"likedBy": [
\{"firstName": "User", "lastName": "1", "id": "asdasdasdas"\},
\{"firstName": "User", "lastName": "2", "id": "asdasdasdas"\},
\{"firstName": "User", "lastName": "3", "id": "asdasdasdas"\}
],
"comments": [
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
]
\},
\{
"_id": "3",
"text":
"Flutter is Google’s mobile UI framework for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.",
"createdAt": "2023-03-15T15:28:52.122Z",
"imageUrl": "image url string",
"creator": \{
"firstName": "Ritik",
"lastName": "Srivastav",
"id": "asdasdasd"
\},
"likedBy": [
\{"firstName": "User", "lastName": "1", "id": "asdasdasdas"\},
\{"firstName": "User", "lastName": "2", "id": "asdasdasdas"\},
\{"firstName": "User", "lastName": "3", "id": "asdasdasdas"\}
],
"comments": [
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
]
\},
\{
"_id": "4",
"text":
"Flutter is Google’s mobile UI framework for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.",
"createdAt": "2023-03-15T15:28:52.122Z",
"imageUrl": "image url string",
"creator": \{
"firstName": "Utkarsh",
"lastName": "Shendge",
"id": "asdasdasd"
\},
"likedBy": [
\{"firstName": "User", "lastName": "1", "id": "asdasdasdas"\},
\{"firstName": "User", "lastName": "2", "id": "asdasdasdas"\},
\{"firstName": "User", "lastName": "3", "id": "asdasdasdas"\}
],
"comments": [
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
\{
"text": "This is the posted comment",
"creator": \{"firstName": "User", "lastName": "4", "id": "asdasdasdas"\}
\},
]
\},
];