toJson method

Map toJson()

Implementation

Map toJson(){
  Map _result = {};

  if (errorLevel != null) _result.addAll({"errorLevel": errorLevel});
  if (columns != null) _result.addAll({"columns": columns});
  if (rows != null) _result.addAll({"rows": rows});

  return _result;
}