mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-17 04:35:26 +00:00
Defines a class for representing an InvenTreePlugin instance
This commit is contained in:
@ -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