mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
More linting again
This commit is contained in:
parent
77bac9af36
commit
be36811cb3
20 changed files with 68 additions and 75 deletions
|
|
@ -49,7 +49,7 @@ class InvenTreeModel {
|
|||
|
||||
// Override the web URL for each subclass
|
||||
// Note: If the WEB_URL is the same (except for /api/) as URL then just leave blank
|
||||
String WEB_URL = "";
|
||||
String get WEB_URL => "";
|
||||
|
||||
String get webUrl {
|
||||
|
||||
|
|
@ -118,7 +118,7 @@ class InvenTreeModel {
|
|||
Map<String, dynamic> jsondata = {};
|
||||
|
||||
// Accessor for the API
|
||||
var api = InvenTreeAPI();
|
||||
InvenTreeAPI api = InvenTreeAPI();
|
||||
|
||||
int get pk => (jsondata["pk"] ?? -1) as int;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue