more game details
This commit is contained in:
@@ -296,6 +296,7 @@ class BackendApi {
|
||||
String? coverUrl,
|
||||
int? releaseYear,
|
||||
bool? locked,
|
||||
Map<String, dynamic>? json,
|
||||
}) async {
|
||||
final map = await _post({
|
||||
'action': 'set_game_status',
|
||||
@@ -311,6 +312,7 @@ class BackendApi {
|
||||
if (coverUrl != null) 'cover_url': coverUrl,
|
||||
if (releaseYear != null) 'release_year': releaseYear,
|
||||
if (locked != null) 'locked': locked,
|
||||
if (json != null) 'json': json,
|
||||
});
|
||||
return (map['game'] as Map).cast<String, dynamic>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user