OutOfBandOperationError.networkError constructor

OutOfBandOperationError.networkError(
  1. Map<String, dynamic> json
)

A network error occurred while redeeming the token: either the server was not reachable or it returned an HTTP error.

Params:

  • json: contains the source for instance creation.

Implementation

factory OutOfBandOperationError.networkError(Map<String, dynamic> json) {
  return OutOfBandOperationNetworkError.fromJson(json);
}