toJson method

String toJson()

Returns a String with weight value

Implementation

String toJson() {
  return _convertValueToJson(weight);
}