Project.fromJson constructor

Project.fromJson(
  1. Map json_
)

Implementation

Project.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        creator: json_.containsKey('creator')
            ? GoogleAppsScriptTypeUser.fromJson(
                json_['creator'] as core.Map<core.String, core.dynamic>)
            : null,
        lastModifyUser: json_.containsKey('lastModifyUser')
            ? GoogleAppsScriptTypeUser.fromJson(json_['lastModifyUser']
                as core.Map<core.String, core.dynamic>)
            : null,
        parentId: json_.containsKey('parentId')
            ? json_['parentId'] as core.String
            : null,
        scriptId: json_.containsKey('scriptId')
            ? json_['scriptId'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );