File.fromJson constructor

File.fromJson(
  1. Map json_
)

Implementation

File.fromJson(core.Map json_)
  : this(
      createTime: json_['createTime'] as core.String?,
      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_['name'] as core.String?,
      source: json_['source'] as core.String?,
      type: json_['type'] as core.String?,
      updateTime: json_['updateTime'] as core.String?,
    );