PuroEnvPrefsModel constructor
PuroEnvPrefsModel({
- FlutterVersionModel? desiredVersion,
- String? forkRemoteUrl,
- String? engineForkRemoteUrl,
- bool? precompileTool,
Implementation
factory PuroEnvPrefsModel({
FlutterVersionModel? desiredVersion,
$core.String? forkRemoteUrl,
$core.String? engineForkRemoteUrl,
$core.bool? precompileTool,
}) {
final _result = create();
if (desiredVersion != null) {
_result.desiredVersion = desiredVersion;
}
if (forkRemoteUrl != null) {
_result.forkRemoteUrl = forkRemoteUrl;
}
if (engineForkRemoteUrl != null) {
_result.engineForkRemoteUrl = engineForkRemoteUrl;
}
if (precompileTool != null) {
_result.precompileTool = precompileTool;
}
return _result;
}