BackupDescription.fromJson constructor

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

Implementation

factory BackupDescription.fromJson(Map<String, dynamic> json) {
  return BackupDescription(
    backupDetails: json['BackupDetails'] != null
        ? BackupDetails.fromJson(
            json['BackupDetails'] as Map<String, dynamic>)
        : null,
    sourceTableDetails: json['SourceTableDetails'] != null
        ? SourceTableDetails.fromJson(
            json['SourceTableDetails'] as Map<String, dynamic>)
        : null,
    sourceTableFeatureDetails: json['SourceTableFeatureDetails'] != null
        ? SourceTableFeatureDetails.fromJson(
            json['SourceTableFeatureDetails'] as Map<String, dynamic>)
        : null,
  );
}