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