DatabaseSynchronization.fromJSON constructor

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

Implementation

factory DatabaseSynchronization.fromJSON(Map<String, dynamic> data) {
	return DatabaseSynchronization(
		source: (data["source"] as String?),
		target: (data["target"] as String?),
		filter: (data["filter"] as String?),
		localTarget: data["localTarget"] == null ? null : DatabaseSynchronizationTarget.fromJSON(data["localTarget"])
	);
}