logJson function
void
logJson(
- dynamic data
Implementation
void logJson(dynamic data) {
try {
var json = jsonEncode(data is BaseModel ? data.toMap() : data);
json.log();
} catch (e) {
e.log();
}
}