json method

String json()

Implementation

String json() => jsonEncode({
  "success": success,
  "error_code": errorCode,
  "error_message": errorMessage,
  "data": data,
  "trace_id": traceID,
});