copyWith method
复制并更新配置
Implementation
StorageConfig copyWith({
String? cachePath,
String? filesPath,
}) {
return StorageConfig(
cachePath: cachePath ?? this.cachePath,
filesPath: filesPath ?? this.filesPath,
);
}
复制并更新配置
StorageConfig copyWith({
String? cachePath,
String? filesPath,
}) {
return StorageConfig(
cachePath: cachePath ?? this.cachePath,
filesPath: filesPath ?? this.filesPath,
);
}