fileSync property
File?
get
fileSync
Returns the file synchronously if it's already available.
This will return the file immediately if:
- The FileLoader was created with FileLoader.fromFile
- The file has been loaded via FileLoader.file and is cached
Returns null if the file is not yet available.
Implementation
rive.File? get fileSync => _providedFile ?? _loadedFile;