toJson method

Map<String, dynamic> toJson()

Implementation

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