This method is called when the plugin is first initialized.
Future<void> init(int mapId) { throw UnimplementedError('init() has not been implemented.'); }