FileConfig.generate constructor

FileConfig.generate(
  1. String fullPath,
  2. String type
)

Create a FileConfig with auto-generated UID

Implementation

factory FileConfig.generate(String fullPath, String type) {
  final uid = _generateUID(fullPath, type);
  return FileConfig(fullPath, type, uid);
}