File.fromJson constructor
File.fromJson(
- Map json_
Implementation
File.fromJson(core.Map json_)
: this(
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
functionSet: json_.containsKey('functionSet')
? GoogleAppsScriptTypeFunctionSet.fromJson(
json_['functionSet'] as core.Map<core.String, core.dynamic>)
: null,
lastModifyUser: json_.containsKey('lastModifyUser')
? GoogleAppsScriptTypeUser.fromJson(json_['lastModifyUser']
as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
source: json_.containsKey('source')
? json_['source'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);