file property

InputFile get file

The InputFile getter

Implementation

InputFile get file {
  return switch (this) {
    InputStoryContentPhoto(photo: final photo) => photo,
    InputStoryContentVideo(video: final video) => video,
  };
}