Map<String, Object?> toJson() { var warnings = this.warnings; final json = <String, Object?>{}; json[r'warnings'] = warnings; return json; }