PointInTimeRecoveryDescription.fromJson constructor

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

Implementation

factory PointInTimeRecoveryDescription.fromJson(Map<String, dynamic> json) {
  return PointInTimeRecoveryDescription(
    earliestRestorableDateTime:
        timeStampFromJson(json['EarliestRestorableDateTime']),
    latestRestorableDateTime:
        timeStampFromJson(json['LatestRestorableDateTime']),
    pointInTimeRecoveryStatus: (json['PointInTimeRecoveryStatus'] as String?)
        ?.toPointInTimeRecoveryStatus(),
  );
}