TopicRuleListItem.fromJson constructor

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

Implementation

factory TopicRuleListItem.fromJson(Map<String, dynamic> json) {
  return TopicRuleListItem(
    createdAt: timeStampFromJson(json['createdAt']),
    ruleArn: json['ruleArn'] as String?,
    ruleDisabled: json['ruleDisabled'] as bool?,
    ruleName: json['ruleName'] as String?,
    topicPattern: json['topicPattern'] as String?,
  );
}