copyWith method

SdkInfo copyWith({
  1. String? sdkName,
  2. int? versionMajor,
  3. int? versionMinor,
  4. int? versionPatchlevel,
})

Implementation

SdkInfo copyWith({
  String? sdkName,
  int? versionMajor,
  int? versionMinor,
  int? versionPatchlevel,
}) =>
    SdkInfo(
      sdkName: sdkName ?? this.sdkName,
      versionMajor: versionMajor ?? this.versionMajor,
      versionMinor: versionMinor ?? this.versionMinor,
      versionPatchlevel: versionPatchlevel ?? this.versionPatchlevel,
      unknown: unknown,
    );