toJson method

T toJson()

Implementation

T toJson() {
  return _convertToJsonRecursive(this) as T;
}