GoogleAppsDriveLabelsV2ListLabelsResponse.fromJson constructor

GoogleAppsDriveLabelsV2ListLabelsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleAppsDriveLabelsV2ListLabelsResponse.fromJson(core.Map json_)
    : this(
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.List)
                .map((value) => GoogleAppsDriveLabelsV2Label.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
      );