save method

Future<int> save(
  1. String filePath, {
  2. int start = 0,
  3. int end = 0xFFFFFFFF,
})

Implementation

Future<int> save(String filePath,
    {int start = 0, int end = 0xFFFFFFFF}) async {
  if (isCreated == false) return -1;
  if (source == null) return -1;
  return await app_player_channel.invokeMethod(
      "app_player_save", [this.textureId, filePath, start, end]);
}