ListSupportedServicesResponse.fromJson constructor

ListSupportedServicesResponse.fromJson(
  1. Map json_
)

Implementation

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