ListDeviceSessionsResponse.fromJson constructor

ListDeviceSessionsResponse.fromJson(
  1. Map json_
)

Implementation

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