createLog method
Implementation
Future<http.Response> createLog(Map<String, dynamic> data) async {
return await post(
Uri.parse('$consoleURL/mobile_app_logs'),
headers: {
'accept': 'application/ld+json',
'content-type': 'application/ld+json',
},
body: json.encode(data),
);
}