toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.generatedAt != null) {
    json[r'generatedAt'] = this.generatedAt!.toUtc().toIso8601String();
  } else {
    json[r'generatedAt'] = null;
  }
  if (this.hotelCount != null) {
    json[r'hotelCount'] = this.hotelCount;
  } else {
    json[r'hotelCount'] = null;
  }
    json[r'files'] = this.files;
  if (this.replacements != null) {
    json[r'replacements'] = this.replacements;
  } else {
    json[r'replacements'] = null;
  }
  return json;
}