toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'requestId': requestId.toJson(),
    if (url != null) 'url': url,
  };
}