getMyInfo method

Future<JMUserInfo> getMyInfo ()

Implementation

Future<JMUserInfo> getMyInfo() async {
  Map userJson = await _channel.invokeMethod('getMyInfo');
  if (userJson == null) {
    return null;
  }else{
    return JMUserInfo.fromJson(userJson);
  }

}