Folder.fromJson constructor

Folder.fromJson(
  1. Map json_
)

Implementation

Folder.fromJson(core.Map json_)
    : this(
        bucket: json_.containsKey('bucket')
            ? json_['bucket'] as core.String
            : null,
        createTime: json_.containsKey('createTime')
            ? core.DateTime.parse(json_['createTime'] as core.String)
            : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        metageneration: json_.containsKey('metageneration')
            ? json_['metageneration'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        pendingRenameInfo: json_.containsKey('pendingRenameInfo')
            ? FolderPendingRenameInfo.fromJson(json_['pendingRenameInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        selfLink: json_.containsKey('selfLink')
            ? json_['selfLink'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? core.DateTime.parse(json_['updateTime'] as core.String)
            : null,
      );