File class
An individual file within a script project.
A file is a third-party source code created by one or more developers. It can be a server-side JS code, HTML, or a configuration file. Each script project can contain multiple files.
Constructors
- File({String? createTime, GoogleAppsScriptTypeFunctionSet? functionSet, GoogleAppsScriptTypeUser? lastModifyUser, String? name, String? source, String? type, String? updateTime})
- File.fromJson(Map json_)
Properties
- createTime ↔ String?
-
Creation date timestamp.
getter/setter pair
- functionSet ↔ GoogleAppsScriptTypeFunctionSet?
-
The defined set of functions in the script file, if any.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastModifyUser ↔ GoogleAppsScriptTypeUser?
-
The user who modified the file most recently.
getter/setter pair
- name ↔ String?
-
The name of the file.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source ↔ String?
-
The file content.
getter/setter pair
- type ↔ String?
-
The type of the file.
Possible string values are:
getter/setter pair
- updateTime ↔ String?
-
Last modified date timestamp.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited