DriveOptions.fromJson constructor

DriveOptions.fromJson(
  1. Map json_
)

Implementation

DriveOptions.fromJson(core.Map json_)
    : this(
        clientSideEncryptedOption:
            json_.containsKey('clientSideEncryptedOption')
                ? json_['clientSideEncryptedOption'] as core.String
                : null,
        includeSharedDrives: json_.containsKey('includeSharedDrives')
            ? json_['includeSharedDrives'] as core.bool
            : null,
        includeTeamDrives: json_.containsKey('includeTeamDrives')
            ? json_['includeTeamDrives'] as core.bool
            : null,
        versionDate: json_.containsKey('versionDate')
            ? json_['versionDate'] as core.String
            : null,
      );