checkRecordURLIsActive method
Check if recordURL is currently available.
Returns true
if available.
recordURLが現在利用可能かどうかを確認します。
利用可能な場合true
を返します。
Implementation
Future<bool> checkRecordURLIsActive() async {
final res = await Api.get(recordURL);
if (res.statusCode != 200) {
return false;
}
return res.body.contains(".ts");
}