ListSessionTemplatesResponse.fromJson constructor

ListSessionTemplatesResponse.fromJson(
  1. Map json_
)

Implementation

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