Skip to content

Instantly share code, notes, and snippets.

View 0xabdou's full-sized avatar
🏠
Working from home

abdou 0xabdou

🏠
Working from home
View GitHub Profile
{
"data": [
{
"id" : "s1fd89fh",
"name": "Bovin",
"iconUrl": "https://svgur.com/i/LCL.svg",
"varieties" : [
{"id" : "id1", "name": "genisse"},
{"id" : "id2", "name": "genisse pleine"},
{"id" : "id3", "name": "veau"},
{
"notification": {
"body": "this is a body",
"title": "this is a title",
"android_channel_id": "green_channel"
},
"priority": "high",
"data": {
"click_action": "FLUTTER_NOTIFICATION_CLICK"
void main() {
final d = DateTime.now();
final ms = d.millisecondsSinceEpoch;
final d1 = DateTime.fromMillisecondsSinceEpoch(ms);
print(d);
print(d1);
print(d1 == d);
}