GoogleAppsDriveLabelsV2FieldSelectionOptions.fromJson constructor

GoogleAppsDriveLabelsV2FieldSelectionOptions.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2FieldSelectionOptions.fromJson(core.Map json_)
    : this(
        choices: json_.containsKey('choices')
            ? (json_['choices'] as core.List)
                .map((value) =>
                    GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        listOptions: json_.containsKey('listOptions')
            ? GoogleAppsDriveLabelsV2FieldListOptions.fromJson(
                json_['listOptions'] as core.Map<core.String, core.dynamic>)
            : null,
      );