toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (body != null) 'body': body!,
      if (headers != null) 'headers': headers!,
      if (httpMethod != null) 'httpMethod': httpMethod!,
      if (oauthToken != null) 'oauthToken': oauthToken!,
      if (oidcToken != null) 'oidcToken': oidcToken!,
      if (uri != null) 'uri': uri!,
    };