fileSync property

File? get fileSync

Returns the file synchronously if it's already available.

This will return the file immediately if:

Returns null if the file is not yet available.

Implementation

rive.File? get fileSync => _providedFile ?? _loadedFile;