ConsumerDescription.fromJson constructor
ConsumerDescription.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ConsumerDescription.fromJson(Map<String, dynamic> json) {
return ConsumerDescription(
consumerARN: json['ConsumerARN'] as String,
consumerCreationTimestamp: nonNullableTimeStampFromJson(
json['ConsumerCreationTimestamp'] as Object),
consumerName: json['ConsumerName'] as String,
consumerStatus: (json['ConsumerStatus'] as String).toConsumerStatus(),
streamARN: json['StreamARN'] as String,
);
}