Converts instance to a map.
Map<String, dynamic> toMap() { return { "cacheDirectoryBasePath": cacheDirectoryBasePath, "dataDirectoryBasePath": dataDirectoryBasePath, }; }