BundlesListResponse.fromJson constructor

BundlesListResponse.fromJson(
  1. Map json_
)

Implementation

BundlesListResponse.fromJson(core.Map json_)
    : this(
        bundles: json_.containsKey('bundles')
            ? (json_['bundles'] as core.List)
                .map((value) => Bundle.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
      );