toJson method

String toJson()

Implementation

String toJson() {
  return WorldStateMapper.ensureInitialized().encodeJson<WorldState>(
    this as WorldState,
  );
}