ProfileFetchRequiredException constructor

ProfileFetchRequiredException(
  1. ProfileFetch fetch, {
  2. required bool offline,
})

Implementation

ProfileFetchRequiredException(this.fetch, {required bool offline})
  : super(
      'fetch-required',
      'Resolving needs to ${fetch.kind.wireValue} the Profile source '
          '${fetch.git}${fetch.ref == null ? '' : ' for ${fetch.ref}'}, '
          'and ${offline ? 'fetching is not allowed' : 'that fetch was not '
                    'allowed'}.',
    );