toJson method

Map toJson()

Implementation

Map toJson() {
  Map _result = {};

  if (success != null) _result.addAll({"success": success});
  if (transactionId != null) _result.addAll({"transactionId": transactionId});

  return _result;
}