copyWith method

BasePlatformMode copyWith({
  1. BaseMode? android,
  2. BaseMode? fuchsia,
  3. BaseMode? iOS,
  4. BaseMode? linux,
  5. BaseMode? macOS,
  6. BaseMode? windows,
  7. BaseMode? web,
  8. BaseMode? others,
})

Implementation

BasePlatformMode copyWith({
  BaseMode? android,
  BaseMode? fuchsia,
  BaseMode? iOS,
  BaseMode? linux,
  BaseMode? macOS,
  BaseMode? windows,
  BaseMode? web,
  BaseMode? others,
}) {
  return BasePlatformMode(
    android: android ?? this.android,
    fuchsia: fuchsia ?? this.fuchsia,
    iOS: iOS ?? this.iOS,
    linux: linux ?? this.linux,
    macOS: macOS ?? this.macOS,
    windows: windows ?? this.windows,
    web: web ?? this.web,
    others: others ?? this.others,
  );
}