toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cookie != null) 'cookie': cookie!,
      if (header != null) 'header': header!,
      if (query != null) 'query': query!,
      if (valuePrefix != null) 'valuePrefix': valuePrefix!,
    };