ListDimensionsResponse.fromJson constructor

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

Implementation

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