toJson method

Map<String, dynamic> toJson()

Creates JSON map of this object

Implementation

Map<String, dynamic> toJson() => {
      'url': url,
      'headers': headers,
      'httpRequestMethod': httpRequestMethod,
      'post': post,
      'retries': retries,
      'retriesRemaining': retriesRemaining,
      'creationTime': creationTime.millisecondsSinceEpoch
    };