SelectOrganization typedef

SelectOrganization = Future<Organization?> Function(String repoName, List<Organization> organizations)

Lets the user pick the organization a repository named repoName should be taken from. Returns null when the selection was cancelled.

Implementation

typedef SelectOrganization = Future<Organization?> Function(
  String repoName,
  List<Organization> organizations,
);