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