flush method
File operations are not supported on the web platform.
Throws UnsupportedError as file system access is not available in web browsers.
Implementation
Future<void> flush() async {
throw UnsupportedError(
'File operations are not supported on the web platform. '
'Mapfile writing is typically done on the server side or in development environments.'
);
}