toJson method

String toJson()

This method serializing the PIX object to JSON string

Implementation

String toJson() => json.encode(toMap());