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