factory BackupPolicy.fromJson(Map<String, dynamic> json) { return BackupPolicy( status: (json['Status'] as String).toStatus(), ); }