getInfo method
getInfo will get account info from Zalo
Ex: ZaloProfileModel info = await ZaloLogin().getInfo();
More info: https://developers.zalo.me/docs/sdk/ios-sdk/open-api/lay-thong-tin-profile-post-490
Implementation
Future<ZaloProfileModel> getInfo() async {
await channel.invokeMethod('getInfo');
final Map<dynamic, dynamic> result = await channel.invokeMethod('getInfo');
return ZaloProfileModel.fromJson(result);
}