toJson abstract method
T
toJson()
Convert the pojo to a valid json representation.
It must be a valid JSON type such as String, int, or Map<String, Object?>.
Implementation
T toJson();
Convert the pojo to a valid json representation.
It must be a valid JSON type such as String, int, or Map<String, Object?>.
T toJson();