toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final deleteRequest = this.deleteRequest;
  final putRequest = this.putRequest;
  return {
    if (deleteRequest != null) 'DeleteRequest': deleteRequest,
    if (putRequest != null) 'PutRequest': putRequest,
  };
}