jsLogout function Null safety

  1. @JS('logout')
void jsLogout(
  1. void onSuccess(
      ),
    1. void onError(
      1. dynamic
      )
    )

    Implementation

    @JS('logout')
    external void jsLogout(
      void Function() onSuccess,
      void Function(dynamic) onError,
    );