toJson method

String toJson()

convert TransactionModel to json.

Implementation

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