ReleaseEvent constructor
ReleaseEvent({
- required ReleaseEventType eventType,
- required String version,
- required String buildNumber,
- required String releaseMode,
- required List<
String> platforms, - String? commit,
- String? tag,
- String? releaseNotes,
- Map<
String, String> artifacts = const {}, - String deploymentStatus = 'Unknown',
- String? environment,
- String? flavor,
- DateTime? timestamp,
- String? error,
- bool isPatch = false,
Implementation
ReleaseEvent({
required this.eventType,
required this.version,
required this.buildNumber,
required this.releaseMode,
required this.platforms,
this.commit,
this.tag,
this.releaseNotes,
this.artifacts = const {},
this.deploymentStatus = 'Unknown',
this.environment,
this.flavor,
DateTime? timestamp,
this.error,
this.isPatch = false,
}) : timestamp = timestamp ?? DateTime.now().toUtc();