isCallingData static method
Implementation
static isCallingData(String data) {
try {
Map<String, dynamic> customMap = jsonDecode(data);
if (customMap.containsKey('businessID') && customMap['businessID'] == 1) {
return true;
}
} catch (e) {
print("isCallingData json parse error");
return false;
}
return false;
}