DesignDocument constructor

DesignDocument(
  1. String id, {
  2. String? rev,
  3. Map<String, String>? revHistory,
  4. String? language,
  5. Map<String, View>? views,
  6. Map<String, String>? lists,
  7. Map<String, String>? shows,
  8. Map<String, String>? updateHandlers,
  9. Map<String, String>? filters,
})

Implementation

DesignDocument(
	this.id,
	{
		String? rev,
		Map<String, String>? revHistory,
		String? language,
		Map<String, View>? views,
		Map<String, String>? lists,
		Map<String, String>? shows,
		Map<String, String>? updateHandlers,
		Map<String, String>? filters
	}) : rev = rev ?? null,
	revHistory = revHistory ?? {},
	language = language ?? null,
	views = views ?? {},
	lists = lists ?? {},
	shows = shows ?? {},
	updateHandlers = updateHandlers ?? null,
	filters = filters ?? {};