getGamePlayerStatistics static method
Obtains the statistics of the current player, such as the session duration and rank.
Implementation
static Future<GamePlayerStatistics> getGamePlayerStatistics(
bool isRealTime,
) async {
final dynamic response = await _channel.invokeMethod(
'GamePlayerStatisticsClient.getGamePlayerStatistics',
<String, dynamic>{
'isRealTime': isRealTime,
},
);
return GamePlayerStatistics.fromMap(Map<dynamic, dynamic>.from(response));
}