ListRemoteAccessSessionsResult.fromJson constructor

ListRemoteAccessSessionsResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ListRemoteAccessSessionsResult.fromJson(Map<String, dynamic> json) {
  return ListRemoteAccessSessionsResult(
    nextToken: json['nextToken'] as String?,
    remoteAccessSessions: (json['remoteAccessSessions'] as List?)
        ?.whereNotNull()
        .map((e) => RemoteAccessSession.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}