toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final statement = this.statement;
  final transactionId = this.transactionId;
  final parameters = this.parameters;
  return {
    'Statement': statement,
    'TransactionId': transactionId,
    if (parameters != null) 'Parameters': parameters,
  };
}