CloudWatchDimensionConfiguration.fromJson constructor

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

Implementation

factory CloudWatchDimensionConfiguration.fromJson(Map<String, dynamic> json) {
  return CloudWatchDimensionConfiguration(
    defaultDimensionValue: json['DefaultDimensionValue'] as String,
    dimensionName: json['DimensionName'] as String,
    dimensionValueSource:
        (json['DimensionValueSource'] as String).toDimensionValueSource(),
  );
}