setObject<T extends MeteorSharedObject> method
缓存对象 T 是继承自MeteorSharedObject类的的对象
Implementation
Future<void> setObject<T extends MeteorSharedObject>(String key, T? value) async {
await SharedMemoryCache.setMap(key, value?.toJson());
}