EnvironmentPlatform.fromJson constructor
Implementation
factory EnvironmentPlatform.fromJson(Map<String, dynamic> json) {
return EnvironmentPlatform(
languages: (json['languages'] as List?)
?.whereNotNull()
.map((e) => EnvironmentLanguage.fromJson(e as Map<String, dynamic>))
.toList(),
platform: (json['platform'] as String?)?.toPlatformType(),
);
}