ListBackupSelectionsOutput.fromJson constructor

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

Implementation

factory ListBackupSelectionsOutput.fromJson(Map<String, dynamic> json) {
  return ListBackupSelectionsOutput(
    backupSelectionsList: (json['BackupSelectionsList'] as List?)
        ?.whereNotNull()
        .map((e) =>
            BackupSelectionsListMember.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}