FleetUtilization.fromJson constructor

FleetUtilization.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory FleetUtilization.fromJson(Map<String, dynamic> json) {
  return FleetUtilization(
    activeGameSessionCount: json['ActiveGameSessionCount'] as int?,
    activeServerProcessCount: json['ActiveServerProcessCount'] as int?,
    currentPlayerSessionCount: json['CurrentPlayerSessionCount'] as int?,
    fleetId: json['FleetId'] as String?,
    maximumPlayerSessionCount: json['MaximumPlayerSessionCount'] as int?,
  );
}