toJson abstract method

dynamic toJson()

serializes the object to JSON

Implementation

toJson();