GoogleApiHeaders constructor

const GoogleApiHeaders([
  1. MyPlatform? platform
])

Constructor with an optional parameter of MyPlatform. Default to MyPlatformImp if the parameter is not provided.

Implementation

const GoogleApiHeaders([MyPlatform? platform])
    : platform = platform ?? const MyPlatformImp();