listRepoContents abstract method

Future<List<String>> listRepoContents(
  1. String repo, {
  2. String? token,
})

Lists the available Mason bricks in a GitHub repository.

repo The GitHub repository URL or identifier. token Optional authentication token for private repositories.

Returns a list of brick names found in the repository.

Implementation

Future<List<String>> listRepoContents(String repo, {String? token});