setAnyTypeResolver function
Installs the library-global anyTypeResolver hook (used to resolve the type
embedded in a google.protobuf.Any during JSON conversion when no per-call
resolver is supplied). Kept for backward compatibility — conformance.dart
sets it once at startup.
Implementation
void setAnyTypeResolver(
List<Map<String, Object?>>? Function(String typeName)? resolver,
) {
anyTypeResolver = resolver;
}