toJson method

String toJson()
inherited

Implementation

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