toJson method

String toJson()

Implementation

String toJson() {
  return ObjectsSpawnedMapper.ensureInitialized()
      .encodeJson<ObjectsSpawned>(this as ObjectsSpawned);
}