toJsonString method
Converts the invoice to a JSON string.
This is a convenient method that encodes the JSON representation of the invoice.
Returns the JSON string.
Implementation
String toJsonString() => jsonEncode(toJson());
Converts the invoice to a JSON string.
This is a convenient method that encodes the JSON representation of the invoice.
Returns the JSON string.
String toJsonString() => jsonEncode(toJson());