GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints.fromJson constructor

GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints.fromJson(
    core.Map json_)
    : this(
        badgeColors: json_.containsKey('badgeColors')
            ? GoogleAppsDriveLabelsV2BadgeColors.fromJson(
                json_['badgeColors'] as core.Map<core.String, core.dynamic>)
            : null,
        badgePriority: json_.containsKey('badgePriority')
            ? json_['badgePriority'] as core.String
            : null,
        darkBadgeColors: json_.containsKey('darkBadgeColors')
            ? GoogleAppsDriveLabelsV2BadgeColors.fromJson(
                json_['darkBadgeColors']
                    as core.Map<core.String, core.dynamic>)
            : null,
        disabled: json_.containsKey('disabled')
            ? json_['disabled'] as core.bool
            : null,
        hiddenInSearch: json_.containsKey('hiddenInSearch')
            ? json_['hiddenInSearch'] as core.bool
            : null,
        shownInApply: json_.containsKey('shownInApply')
            ? json_['shownInApply'] as core.bool
            : null,
      );