getTopicTypes method

Future<List<TopicInfo>> getTopicTypes ()
inherited

Retrieve list topic names and their types.

Returns a list of (topicName, topicType) pairs (lists)

Implementation

Future<List<TopicInfo>> getTopicTypes() async =>
    (await _call('getTopicTypes', [nodeName]))
        .map((t) => TopicInfo(t[0], t[1]))
        .toList();