fromJson static method

GameMode fromJson(
  1. String json
)

Implementation

static GameMode fromJson(String json) {
  return ensureInitialized().decodeJson<GameMode>(json);
}