CodeResult class
Constructors
-
CodeResult({List<
CodeFile> files = const [], String? sessionId, String? stderr, String? stdout}) - Returns a new CodeResult instance.
Properties
-
files
↔ List<
CodeFile> -
Files are what this run CREATED OR CHANGED, decided by mtime against a marker taken before the program started — so it is the run's output, not a listing of the directory. Fetch each from GET /v1/exec/download/{session}/{id}.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId ↔ String?
-
SessionID is the sandbox this run used — the one that was passed in, or the fresh one that was leased. Pass it to the next run to keep the filesystem.
getter/setter pair
- stderr ↔ String?
-
Stderr is what the program wrote to standard error, INCLUDING a compiler's diagnostics and the trace of a program that exited non-zero. Its presence is not a failed call.
getter/setter pair
- stdout ↔ String?
-
Stdout is what the program wrote to standard output.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromJson(
dynamic value) → CodeResult? -
Returns a new CodeResult instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< CodeResult> -
mapFromJson(
dynamic json) → Map< String, CodeResult> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< CodeResult> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.