PlatformService constructor

const PlatformService({
  1. HostPlatform? current,
  2. Map<String, String>? environment,
})

Implementation

const PlatformService({
  HostPlatform? current,
  Map<String, String>? environment,
}) : _current = current,
     _environment = environment;