toJson method

String toJson()
inherited

Implementation

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