IdWithMandatoryRev.fromJSON constructor

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

Implementation

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