Platform<Attributes extends PlatformAttributes> constructor

const Platform<Attributes extends PlatformAttributes>({
  1. required OperatingSystem os,
  2. required Attributes attributes,
})

Creates a platform instance with the given os and platform-specific attributes.

Implementation

const Platform({required this.os, required this.attributes});