toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'object'] = this.object;
  json[r'id'] = this.id;
  json[r'domain_id'] = this.domainId;
  if (this.lastRunAt != null) {
    json[r'last_run_at'] = this.lastRunAt;
  } else {
    json[r'last_run_at'] = null;
  }
  json[r'proxy_url'] = this.proxyUrl;
  json[r'successful'] = this.successful;
  json[r'created_at'] = this.createdAt;
  json[r'updated_at'] = this.updatedAt;
  return json;
}