removeIdentityId method

Future<String?> removeIdentityId()

Remove AWS Identity Id from storage

Implementation

Future<String?> removeIdentityId() async {
  final identityIdKey = 'aws.cognito.identity-id.$_identityPoolId';
  return await _pool.storage.removeItem(identityIdKey);
}