copyWith method

Alert copyWith (
  1. void updates(
    1. Alert
    )
)

Implementation

Alert copyWith(void Function(Alert) updates) => super.copyWith((message) => updates(message as Alert));