fromJson static method
Implementation
static ContainerTemplateSpec? fromJson(Map<String, dynamic> json) {
return ContainerTemplateSpec(
environment: (json['environment'] as List<dynamic>?)?.map((e) => EnvironmentVariable.fromJson(e as Map<String, dynamic>)).toList(),
image: json['image'] as String?,
command: json['command'] as String?,
storage: json['storage'] == null ? null : ServiceTemplateMountSpec.fromJson(json['storage'] as Map<String, dynamic>),
);
}