toCompactJson method
Converts the Context instance to a compact JSON map.
Returns a compact JSON map representation of the Context instance.
Implementation
Map<String, dynamic> toCompactJson() {
try {
final Map<String, dynamic> data = {};
data["d"] = domain;
data["a"] = action;
return data;
} catch (e) {
rethrow;
}
}