TimeToLiveSpecification.fromJson constructor

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

Implementation

factory TimeToLiveSpecification.fromJson(Map<String, dynamic> json) {
  return TimeToLiveSpecification(
    attributeName: json['AttributeName'] as String,
    enabled: json['Enabled'] as bool,
  );
}