isUsingSharedStorage method

Future<bool?> isUsingSharedStorage()

Check app allow sharing atsign or not @returns 'null' if not define yet @returns 'true' if use sharing store @returns 'false' if use internal store

Implementation

Future<bool?> isUsingSharedStorage() async {
  final data = await readAtClientData(useSharedStorage: false);
  return data?.config?.useSharedStorage;
}