getUserAttributes2 method

Future<List<RtmAttribute>> getUserAttributes2(
  1. String userId
)

Gets all attributes of a specified user.

Implementation

Future<List<RtmAttribute>> getUserAttributes2(String userId) async {
  return List<Map>.from(
          await _callNative("getUserAttributes", {'userId': userId}))
      .map((e) => RtmAttribute.fromJson(e))
      .toList();
}