Application constructor Null safety

Application(
  1. {required String id,
  2. required String appName,
  3. required bool archived,
  4. required List<String> branches,
  5. String? iconUrl,
  6. String? lastBuildId,
  7. String? ownerTeam,
  8. List<String>? projectFiles,
  9. Repository? repository,
  10. List<UserRights>? userRights,
  11. required List<String> workflowIds,
  12. required Map<String, Workflow> workflows}
)

Implementation

Application({
  required this.id,
  required this.appName,
  required this.archived,
  required this.branches,
  this.iconUrl,
  this.lastBuildId,
  this.ownerTeam,
  this.projectFiles,
  this.repository,
  this.userRights,
  required this.workflowIds,
  required this.workflows,
});