getChannelAttributes method

Future<List<RtmChannelAttribute>> getChannelAttributes(
  1. String channelId
)

Gets all attributes of a specified channel.

Implementation

Future<List<RtmChannelAttribute>> getChannelAttributes(
    String channelId) async {
  return List<Map>.from(
          await _callNative("getChannelAttributes", {'channelId': channelId}))
      .map((attr) => RtmChannelAttribute.fromJson(attr))
      .toList();
}