getGroupInfo method

Future<JMGroupInfo> getGroupInfo ({@required String id })

Implementation

Future<JMGroupInfo> getGroupInfo({ @required String id}) async {

  Map groupJson = await _channel.invokeMethod('getGroupInfo',
    {
      'id': id
    }..removeWhere((key,value) => value == null));

  return JMGroupInfo.fromJson(groupJson);
}