Map<String, dynamic> toMap() { return <String, dynamic>{ 'abortedByUser': ?abortedByUser, 'hasErrorLogs': ?hasErrorLogs, 'infrastructureFailure': ?infrastructureFailure, }; }