MitigationAction.fromJson constructor
Implementation
factory MitigationAction.fromJson(Map<String, dynamic> json) {
return MitigationAction(
actionParams: json['actionParams'] != null
? MitigationActionParams.fromJson(
json['actionParams'] as Map<String, dynamic>)
: null,
id: json['id'] as String?,
name: json['name'] as String?,
roleArn: json['roleArn'] as String?,
);
}