DescribeDirectoryConfigsResult.fromJson constructor

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

Implementation

factory DescribeDirectoryConfigsResult.fromJson(Map<String, dynamic> json) {
  return DescribeDirectoryConfigsResult(
    directoryConfigs: (json['DirectoryConfigs'] as List?)
        ?.whereNotNull()
        .map((e) => DirectoryConfig.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}