libraryPrefix function

String libraryPrefix()

Get the default dynamic library prefix for this platform

  • Windows: no prefix
  • Unix based OSs: "lib" prefix

Implementation

String libraryPrefix() => Platform.operatingSystem == 'windows' ? '' : 'lib';