BasePlatformInfoJsonable.fromJson constructor

BasePlatformInfoJsonable.fromJson(
  1. Map<String, dynamic> json
)

Implementation

BasePlatformInfoJsonable.fromJson(Map<String, dynamic> json) {
  operatingSystem = json['operatingSystem'] ?? operatingSystem;
  operatingSystemVersion =
      json['operatingSystemVersion'] ?? operatingSystemVersion;
  dartVersion = json['dartVersion'] ?? dartVersion;
  numberOfProcessors = json['numberOfProcessors'] ?? numberOfProcessors;
  localHostname = json['localHostname'] ?? localHostname;
}