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;
}