factory PlayerErrorSourceLocation.fromJson(Map<String, dynamic> json) { return PlayerErrorSourceLocation( file: json['file'] as String, line: json['line'] as int, ); }