CodeFile class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ String?
-
ID is the file's path RELATIVE to its session's artifact directory, which is also how it is fetched: GET /v1/exec/download/{session}/{id}.
getter/setter pair
- name ↔ String?
-
Name is the display name. On an ANSWER it carries the
{session}/{id}identifier whole, because the client matches on that prefix.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId ↔ String?
-
SessionID is the other accepted spelling of the same fact on the way IN. Both are read; whichever is set wins.
getter/setter pair
- storageSessionId ↔ String?
-
StorageSessionID names the session holding the bytes, and is the spelling the answer always uses.
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) → CodeFile? -
Returns a new CodeFile instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< CodeFile> -
mapFromJson(
dynamic json) → Map< String, CodeFile> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< CodeFile> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.