DescribeRuleResponse.fromJson constructor
DescribeRuleResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeRuleResponse.fromJson(Map<String, dynamic> json) {
return DescribeRuleResponse(
arn: json['Arn'] as String?,
createdBy: json['CreatedBy'] as String?,
description: json['Description'] as String?,
eventBusName: json['EventBusName'] as String?,
eventPattern: json['EventPattern'] as String?,
managedBy: json['ManagedBy'] as String?,
name: json['Name'] as String?,
roleArn: json['RoleArn'] as String?,
scheduleExpression: json['ScheduleExpression'] as String?,
state: (json['State'] as String?)?.toRuleState(),
);
}