EnvironmentInfoModel constructor

EnvironmentInfoModel({
  1. String? name,
  2. String? path,
  3. FlutterVersionModel? version,
})

Implementation

factory EnvironmentInfoModel({
  $core.String? name,
  $core.String? path,
  FlutterVersionModel? version,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (path != null) {
    _result.path = path;
  }
  if (version != null) {
    _result.version = version;
  }
  return _result;
}