GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties.fromJson constructor

GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties.fromJson(
    core.Map json_)
    : this(
        badgeConfig: json_.containsKey('badgeConfig')
            ? GoogleAppsDriveLabelsV2BadgeConfig.fromJson(
                json_['badgeConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        insertBeforeChoice: json_.containsKey('insertBeforeChoice')
            ? json_['insertBeforeChoice'] as core.String
            : null,
      );