ListInstanceStorageConfigsResponse.fromJson constructor

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

Implementation

factory ListInstanceStorageConfigsResponse.fromJson(
    Map<String, dynamic> json) {
  return ListInstanceStorageConfigsResponse(
    nextToken: json['NextToken'] as String?,
    storageConfigs: (json['StorageConfigs'] as List?)
        ?.whereNotNull()
        .map((e) => InstanceStorageConfig.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}