DocIdentifier.fromJSON constructor

DocIdentifier.fromJSON(
  1. Map<String, dynamic> data
)

Implementation

factory DocIdentifier.fromJSON(Map<String, dynamic> data) {
	return DocIdentifier(
		id: (data["id"] as String?),
		rev: (data["rev"] as String?)
	);
}