voicevoxGetVersion function

String? voicevoxGetVersion()

voicevoxのバージョンを取得する。 @return SemVerでフォーマットされたバージョン。

\orig-impl{voicevox_get_version}

__declspec(dllimport) const char *voicevox_get_version(void)

Implementation

String? voicevoxGetVersion() {
  final voicevoxGetVersionLookupFunction = _libCore
      .lookupFunction<Pointer<Utf8> Function(), Pointer<Utf8> Function()>(
        'voicevox_get_version',
      );

  return voicevoxGetVersionLookupFunction().toDartString();
}