toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() {
  Map<String, dynamic> result = {};

  result["errorLevel"] = errorLevel;
  result["columns"] = columns;
  result["rows"] = rows;

  return result;
}