Adds a segment.
static void addSegment(int key, List<int> values) { _methodChannel.invokeMethod('addSegment', { 'key': key, 'values': values, }); }