ListCategoriesResponse.fromJson constructor

ListCategoriesResponse.fromJson(
  1. Map json_
)

Implementation

ListCategoriesResponse.fromJson(core.Map json_)
    : this(
        categories: (json_['categories'] as core.List?)
            ?.map((value) => Category.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        nextPageToken: json_['nextPageToken'] as core.String?,
      );