mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 10:49:49 +08:00
refactor: split terminal models
This commit is contained in:
15
lib/models/terminal/js_log_data.dart
Normal file
15
lib/models/terminal/js_log_data.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
class JsLogData {
|
||||
JsLogData({
|
||||
required this.level,
|
||||
required this.args,
|
||||
this.stack,
|
||||
this.context,
|
||||
this.contextRequestId,
|
||||
});
|
||||
|
||||
final String level; // log | warn | error | fatal
|
||||
final List<String> args;
|
||||
final String? stack;
|
||||
final String? context; // preRequest | postResponse | global
|
||||
final String? contextRequestId;
|
||||
}
|
||||
Reference in New Issue
Block a user