GoogleApiHeaders constructor
const
GoogleApiHeaders([
- 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();