getUserAttributesByKeys method

  1. @Deprecated('Use getUserAttributesByKeys2 instead of.')
Future<Map<String, dynamic>> getUserAttributesByKeys(
  1. String userId,
  2. List<String> keys
)

Implementation

@Deprecated('Use getUserAttributesByKeys2 instead of.')
Future<Map<String, dynamic>> getUserAttributesByKeys(
    String userId, List<String> keys) {
  return getUserAttributesByKeys2(userId, keys).then(
      (value) => {for (var element in value) (element).key: element.value});
}