v_platform library

Classes

VPlatformFile
VPlatformFile is a class to handle various file sources such as local file path, byte array, URL, and assets. It provides utility methods for accessing file information like MIME type, media type, and size in human-readable format.
VPlatformFileUtils
Abstract class to set a global base URL for media files. This can be accessed and set throughout the application.
VPlatforms
This is a class named VPlatforms that contains static properties and methods for detecting the current platform the code is running on. It includes methods for returning a boolean value for whether the current platform is web, mobile, Android, iOS, Mac OS, and other operating systems. There are also methods for getting the current platform's name and whether it's a desktop platform, as well as detecting whether the code is running on mobile when using a browser. Additionally, there is a method for converting a file to a multipart HTTP request.