toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ReachabilityStatus.pending:
      return 'PENDING';
    case ReachabilityStatus.done:
      return 'DONE';
    case ReachabilityStatus.expired:
      return 'EXPIRED';
  }
}