gen_api.dart: removed unused method