KafkaAction.fromJson constructor
Implementation
factory KafkaAction.fromJson(Map<String, dynamic> json) {
return KafkaAction(
clientProperties: (json['clientProperties'] as Map<String, dynamic>)
.map((k, e) => MapEntry(k, e as String)),
destinationArn: json['destinationArn'] as String,
topic: json['topic'] as String,
key: json['key'] as String?,
partition: json['partition'] as String?,
);
}