EventTopic.fromJson constructor
Implementation
factory EventTopic.fromJson(Map<String, dynamic> json) {
return EventTopic(
createdDateTime: timeStampFromJson(json['CreatedDateTime']),
directoryId: json['DirectoryId'] as String?,
status: (json['Status'] as String?)?.toTopicStatus(),
topicArn: json['TopicArn'] as String?,
topicName: json['TopicName'] as String?,
);
}