UpdateDimensionResponse.fromJson constructor

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

Implementation

factory UpdateDimensionResponse.fromJson(Map<String, dynamic> json) {
  return UpdateDimensionResponse(
    arn: json['arn'] as String?,
    creationDate: timeStampFromJson(json['creationDate']),
    lastModifiedDate: timeStampFromJson(json['lastModifiedDate']),
    name: json['name'] as String?,
    stringValues: (json['stringValues'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    type: (json['type'] as String?)?.toDimensionType(),
  );
}