disposeMixInstance method
Implementation
Future<void> disposeMixInstance(String typeName, MixInstance instance) => _synchronized(
() => _channel.invokeMethod(
"destroy",
{
"typeName": typeName,
"hash": instance.hashCode,
},
),
).then(
(_) {
final key = _key(typeName, instance.hashCode);
_cachesMap.remove(key);
},
);