AlertTarget.fromJson constructor

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

Implementation

factory AlertTarget.fromJson(Map<String, dynamic> json) {
  return AlertTarget(
    alertTargetArn: json['alertTargetArn'] as String,
    roleArn: json['roleArn'] as String,
  );
}