toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowedCaCerts != null) 'allowedCaCerts': allowedCaCerts!,
      if (httpMethod != null) 'httpMethod': httpMethod!,
      if (parameterMapping != null) 'parameterMapping': parameterMapping!,
      if (password != null) 'password': password!,
      if (requestBody != null) 'requestBody': requestBody!,
      if (requestHeaders != null) 'requestHeaders': requestHeaders!,
      if (uri != null) 'uri': uri!,
      if (username != null) 'username': username!,
      if (webhookType != null) 'webhookType': webhookType!,
    };