PlayerLocationsDto.fromJson constructor

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

Implementation

PlayerLocationsDto.fromJson(Map<String, dynamic> json) {
  puuid = json['puuid'] ?? '';
  viewRadians = json['viewRadians'] ?? 0.0;
  location = LocationDto.fromJson(json['location']!);
}