onPlatform property Null safety

Map<PlatformSelector, Metadata> onPlatform
final

Platform-specific metadata.

Each key identifies a platform, and its value identifies the specific metadata for that platform. These can be applied by calling forPlatform.

Implementation

final Map<PlatformSelector, Metadata> onPlatform;