getUserInfo method
Implementation
@override
Future<EchatUserInfo?> getUserInfo() async {
final result = await methodChannel.invokeMethod('getUserInfo');
return result == null
? null
: EchatUserInfo.toModel(data: Map.from(result));
}
@override
Future<EchatUserInfo?> getUserInfo() async {
final result = await methodChannel.invokeMethod('getUserInfo');
return result == null
? null
: EchatUserInfo.toModel(data: Map.from(result));
}