Callback.hideCurrentSnackBar constructor Null safety

const Callback.hideCurrentSnackBar(
  1. {@Default(SnackBarClosedReason.hide) SnackBarClosedReason reason}
)

Implementation

const factory Callback.hideCurrentSnackBar({
  @Default(SnackBarClosedReason.hide) SnackBarClosedReason reason,
}) = HideCurrentSnackBarCallback;