mirror of
https://github.com/inventree/inventree-app.git
synced 2026-10-04 22:46:07 +00:00
Defines a class for representing an InvenTreePlugin instance
This commit is contained in:
1 parent
0c7f5d7fe7
commit
0c9c7b2a68
2 files changed
+21
-6
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user