EnvironmentUpgradeModel constructor

EnvironmentUpgradeModel({
  1. String? name,
  2. FlutterVersionModel? from,
  3. FlutterVersionModel? to,
})

Implementation

factory EnvironmentUpgradeModel({
  $core.String? name,
  FlutterVersionModel? from,
  FlutterVersionModel? to,
}) {
  final _result = create();
  if (name != null) {
    _result.name = name;
  }
  if (from != null) {
    _result.from = from;
  }
  if (to != null) {
    _result.to = to;
  }
  return _result;
}