copyToRootEnv method
Copies a client env file to the root .env for the Flutter build.
Implementation
Future<File> copyToRootEnv(File sourceEnv, {bool isTest = false}) async {
final targetPath = p.join(projectDir, '.env');
return await sourceEnv.copy(targetPath);
}