factory FailureInfo.fromJson(Map<String, dynamic> json) { return FailureInfo( errorMessage: json['ErrorMessage'] as String?, failedRecordsS3Url: json['FailedRecordsS3Url'] as String?, ); }