toJson method

Map toJson()

Implementation

Map toJson() {
  Map _result = {};

  if (min != null) _result.addAll({"min": min});
  if (max != null) _result.addAll({"max": max});

  return _result;
}