GoogleAppsDriveLabelsV2UserCapabilities.fromJson constructor

GoogleAppsDriveLabelsV2UserCapabilities.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2UserCapabilities.fromJson(core.Map json_)
    : this(
        canAccessLabelManager: json_.containsKey('canAccessLabelManager')
            ? json_['canAccessLabelManager'] as core.bool
            : null,
        canAdministrateLabels: json_.containsKey('canAdministrateLabels')
            ? json_['canAdministrateLabels'] as core.bool
            : null,
        canCreateAdminLabels: json_.containsKey('canCreateAdminLabels')
            ? json_['canCreateAdminLabels'] as core.bool
            : null,
        canCreateSharedLabels: json_.containsKey('canCreateSharedLabels')
            ? json_['canCreateSharedLabels'] as core.bool
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );