Lifecycle.fromJson constructor

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

Implementation

factory Lifecycle.fromJson(Map<String, dynamic> json) {
  return Lifecycle(
    deleteAfterDays: json['DeleteAfterDays'] as int?,
    moveToColdStorageAfterDays: json['MoveToColdStorageAfterDays'] as int?,
  );
}