InternetCheckResult constructor

InternetCheckResult({
  1. required InternetCheckOption option,
  2. required bool isSuccess,
})

Creates an InternetCheckResult instance.

Represents the result of an internet connection check.

This class encapsulates the outcome of an internet connection check performed with a specific InternetCheckOption.

Implementation

InternetCheckResult({
  required this.option,
  required this.isSuccess,
});