copyWith method

  1. @useResult
FAlertStyles copyWith({
  1. FAlertCustomStyle? primary,
  2. FAlertCustomStyle? destructive,
})

Returns a copy of this FAlertStyles with the given properties replaced.

Implementation

@useResult
FAlertStyles copyWith({
  FAlertCustomStyle? primary,
  FAlertCustomStyle? destructive,
}) =>
    FAlertStyles(
      primary: primary ?? this.primary,
      destructive: destructive ?? this.destructive,
    );