try { // Features displayed on the About screen // icon: Flutter icon name (see AboutFeature._iconMap in about_info.dart) features = [ { "ICON": "qr_code_scanner", "TITLE": "Scan & Order", "DESCRIPTION": "Scan the table beacon to browse the menu and order directly from your phone" }, { "ICON": "group", "TITLE": "Group Orders", "DESCRIPTION": "Invite friends to join your order and split the bill easily" }, { "ICON": "delivery_dining", "TITLE": "Delivery & Takeaway", "DESCRIPTION": "Order for delivery or pick up when dining in isn't an option" }, { "ICON": "payment", "TITLE": "Easy Payment", "DESCRIPTION": "Pay your share securely with just a few taps" } ]; // Contact links displayed on the About screen // icon: Flutter icon name (see AboutContact._iconMap in about_info.dart) contacts = [ { "ICON": "help_outline", "LABEL": "help.payfrit.com", "URL": "https://help.payfrit.com" }, { "ICON": "language", "LABEL": "www.payfrit.com", "URL": "https://www.payfrit.com" } ]; writeOutput(serializeJSON({ "OK": true, "DESCRIPTION": "Payfrit makes dining out easier. Order from your table, split the bill with friends, and pay without waiting.", "FEATURES": features, "CONTACTS": contacts, "COPYRIGHT": "© #year(now())# Payfrit. All rights reserved." })); } catch (any e) { writeOutput(serializeJSON({ "OK": false, "ERROR": "server_error", "MESSAGE": e.message })); }