PuroEnvPrefsModel constructor

PuroEnvPrefsModel({
  1. FlutterVersionModel? desiredVersion,
  2. String? forkRemoteUrl,
  3. String? engineForkRemoteUrl,
  4. 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;
}