mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Defines a class for representing an InvenTreePlugin instance
This commit is contained in:
parent
0c7f5d7fe7
commit
0c9c7b2a68
2 changed files with 21 additions and 6 deletions
|
|
@ -500,6 +500,20 @@ class InvenTreeModel {
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* Class representing a single plugin instance
|
||||
*/
|
||||
class InvenTreePlugin extends InvenTreeModel {
|
||||
|
||||
InvenTreePlugin() : super();
|
||||
|
||||
InvenTreePlugin.fromJson(Map<String, dynamic> json) : super.fromJson(json);
|
||||
|
||||
@override
|
||||
String get URL => "plugin/";
|
||||
}
|
||||
|
||||
|
||||
class InvenTreeAttachment extends InvenTreeModel {
|
||||
// Class representing an "attachment" file
|
||||
InvenTreeAttachment() : super();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue