toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final headerParameters = this.headerParameters;
  final pathParameterValues = this.pathParameterValues;
  final queryStringParameters = this.queryStringParameters;
  return {
    if (headerParameters != null) 'HeaderParameters': headerParameters,
    if (pathParameterValues != null)
      'PathParameterValues': pathParameterValues,
    if (queryStringParameters != null)
      'QueryStringParameters': queryStringParameters,
  };
}