EphemeralScoutingData constructor

EphemeralScoutingData(
  1. String id,
  2. {required String compressedFormat,
  3. int telemetryVersion = EPHEMERAL_MODELS_VERSION}
)

Implementation

EphemeralScoutingData(this.id,
    {required this.compressedFormat,
    this.telemetryVersion = EPHEMERAL_MODELS_VERSION}) {
  if (EPHEMERAL_MODELS_VERSION != telemetryVersion) {
    Debug().warn(
        "MatchData#$id was loaded with version $telemetryVersion which does not match $EPHEMERAL_MODELS_VERSION which can cause conflicts!");
  }
}