isJsonDataType function
Implementation
bool isJsonDataType(dynamic object) {
if (object == null ||
object is num ||
object is bool ||
object is String ||
object is HTStruct ||
object is Iterable ||
object is Map<String, dynamic>) {
return true;
} else {
return false;
}
}