copyWith method

  1. @useResult
FAlertIconStyle copyWith({
  1. Color? color,
  2. double? size,
})

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

Implementation

@useResult
FAlertIconStyle copyWith({
  Color? color,
  double? size,
}) =>
    FAlertIconStyle(
      color: color ?? this.color,
      size: size ?? this.size,
    );