EnvironmentImage.fromJson constructor
Implementation
factory EnvironmentImage.fromJson(Map<String, dynamic> json) {
return EnvironmentImage(
description: json['description'] as String?,
name: json['name'] as String?,
versions: (json['versions'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}