toJson method

Map<String, dynamic> toJson()

Allows you to serialize object.

Implementation

Map<String, dynamic> toJson() => {
      "transactionId": transactionId,
      "tag": tag,
    }.clearNulls();