StandardsSubscription.fromJson constructor

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

Implementation

factory StandardsSubscription.fromJson(Map<String, dynamic> json) {
  return StandardsSubscription(
    standardsArn: json['StandardsArn'] as String,
    standardsInput: (json['StandardsInput'] as Map<String, dynamic>)
        .map((k, e) => MapEntry(k, e as String)),
    standardsStatus: (json['StandardsStatus'] as String).toStandardsStatus(),
    standardsSubscriptionArn: json['StandardsSubscriptionArn'] as String,
  );
}