fromJson static method

IntentStatus fromJson(
  1. String json
)

Implementation

static IntentStatus fromJson(String json) {
  final status = _jsonMap[json];
  if (status != null) {
    return status;
  }
  throw Exception("Unsupported IntentStatus JSON value: $json");
}