createDestinationWebUri method Null safety

  1. @override
Uri? createDestinationWebUri(
  1. String sourceFilePath
)
override

Implementation

@override
Uri? createDestinationWebUri(String sourceFilePath) {
  Uri? wikiUri=GitHubProject().wikiUri;
  if (wikiUri==null) return null;
  return wikiUri.withPathSuffix(createPathSuffix(sourceFilePath));
}