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