import 'package:uuid/uuid.dart'; class ResponseFromRegisteringGame { final UuidValue playerID; const ResponseFromRegisteringGame({ required this.playerID, }); factory ResponseFromRegisteringGame.fromJson(Map json) { final uuid = UuidValue(json['playerID']); return ResponseFromRegisteringGame( playerID: uuid, ); } }