copyWith method

FlexAdaptive copyWith({
  1. bool? android,
  2. bool? androidWeb,
  3. bool? fuchsia,
  4. bool? fuchsiaWeb,
  5. bool? iOS,
  6. bool? iOSWeb,
  7. bool? linux,
  8. bool? linuxWeb,
  9. bool? macOS,
  10. bool? macOSWeb,
  11. bool? windows,
  12. bool? windowsWeb,
  13. bool? overrideIsWeb,
})

Copy the object with one or more provided properties changed.

Implementation

FlexAdaptive copyWith({
  bool? android,
  bool? androidWeb,
  bool? fuchsia,
  bool? fuchsiaWeb,
  bool? iOS,
  bool? iOSWeb,
  bool? linux,
  bool? linuxWeb,
  bool? macOS,
  bool? macOSWeb,
  bool? windows,
  bool? windowsWeb,
  bool? overrideIsWeb,
}) {
  return FlexAdaptive(
    android: android ?? this.android,
    androidWeb: androidWeb ?? this.androidWeb,
    fuchsia: fuchsia ?? this.fuchsia,
    fuchsiaWeb: fuchsiaWeb ?? this.fuchsiaWeb,
    iOS: iOS ?? this.iOS,
    iOSWeb: iOSWeb ?? this.iOSWeb,
    linux: linux ?? this.linux,
    linuxWeb: linuxWeb ?? this.linuxWeb,
    macOS: macOS ?? this.macOS,
    macOSWeb: macOSWeb ?? this.macOSWeb,
    windows: windows ?? this.windows,
    windowsWeb: windowsWeb ?? this.windowsWeb,
    overrideIsWeb: overrideIsWeb ?? this.overrideIsWeb,
  );
}