getGroupIds method Null safety

Future<List<String>> getGroupIds()

Implementation

Future<List<String>> getGroupIds() async {
  List<dynamic> groupIds = await _channel.invokeMethod('getGroupIds');
  List<String> res = groupIds.map((gid) => '' + gid).toList();
  return res;
}