mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-17 04:35:26 +00:00
Toggle part star status
This commit is contained in:
@ -304,12 +304,6 @@ class InvenTreePart extends InvenTreeModel {
|
||||
// Return the "starred" status of this part
|
||||
bool get starred => jsondata['starred'] as bool ?? false;
|
||||
|
||||
// Toggle the starred status
|
||||
Future<void> setStarred(BuildContext context, bool status) async {
|
||||
// TODO - Toggle the "starred" status of the part using the API
|
||||
return;
|
||||
}
|
||||
|
||||
InvenTreePart() : super();
|
||||
|
||||
InvenTreePart.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
|
||||
|
Reference in New Issue
Block a user