create static method
Implementation
static Future<TSharedJsonPod> create(
String key, {
Map<String, dynamic>? initialValue,
}) async {
final instance = TSharedJsonPod(
key,
fromValue: (value) =>
value != null ? jsonDecode(value) as Map<String, dynamic> : null,
toValue: (rawValue) => jsonEncode(rawValue),
);
await instance.refresh();
return instance;
}