Skip to content

Instantly share code, notes, and snippets.

View saliouseck2009's full-sized avatar

ckroot saliouseck2009

  • Senegal
View GitHub Profile
Map<String, dynamic> toJson() {
List<Map>? orderProducts = this.orderProducts != null
? this.orderProducts!.map((i) => i.toJson()).toList()
: null;
return {
'pos_id': posId,
'sector_id': sectorId,
'seller_id': sellerId,
"date": date == null ? null : date!.toIso8601String(),
{for (var v in products) v.id!: v};
final String response = await rootBundle.loadString('assets/surah.json');
final data = await json.decode(response);
@saliouseck2009
saliouseck2009 / 99_names_Allah.json
Created April 4, 2023 12:26
The is a list of 99 names of Allah
[
{
"numero": 1,
"nom": "الله",
"transliteration": "ALLAH",
"en": "Allah",
"fr": "Allah"
},
{
"numero": 2,