Sdk constructor

Sdk({
  1. SdkType? type,
  2. String? major,
  3. String? minor,
  4. String? patch,
})

Implementation

factory Sdk({
  SdkType? type,
  $core.String? major,
  $core.String? minor,
  $core.String? patch,
}) {
  final _result = create();
  if (type != null) {
    _result.type = type;
  }
  if (major != null) {
    _result.major = major;
  }
  if (minor != null) {
    _result.minor = minor;
  }
  if (patch != null) {
    _result.patch = patch;
  }
  return _result;
}