MirrorService constructor

MirrorService({
  1. Client? client,
  2. List<Mirror>? customMirrors,
})

Implementation

MirrorService({http.Client? client, List<Mirror>? customMirrors})
  : _client = client ?? http.Client(),
    mirrors = customMirrors ?? List.from(defaultMirrors);