getJson method

Map<String, T?> getJson()

Implementation

Map<String, T?> getJson() {
  var ret = <String, T?>{};
  if (max != null) ret['max'] = max;
  if (min != null) ret['min'] = min;
  return ret;
}