Converts a Dart object represented as a Map to a JSON-encoded string.
The input data is a Map representing the Dart object.
data
static String fromJson(Object data) { return jsonEncode(data); }