Replication.fromJSON constructor

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

Implementation

factory Replication.fromJSON(Map<String, dynamic> data) {
	return Replication(
		(data["id"] as String),
		rev: (data["rev"] as String?),
		deletionDate: (data["deletionDate"] as int?),
		name: (data["name"] as String?),
		context: (data["context"] as String?),
		databaseSynchronizations: (data["databaseSynchronizations"] as List<dynamic>).map((x0) => DatabaseSynchronization.fromJSON(x0) ).toList(),
	);
}