CloudWatchDestination.fromJson constructor

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

Implementation

factory CloudWatchDestination.fromJson(Map<String, dynamic> json) {
  return CloudWatchDestination(
    dimensionConfigurations: (json['DimensionConfigurations'] as List)
        .whereNotNull()
        .map((e) => CloudWatchDimensionConfiguration.fromJson(
            e as Map<String, dynamic>))
        .toList(),
  );
}