ContainerPort.fromJson constructor
ContainerPort.fromJson(
- Map json_
Implementation
ContainerPort.fromJson(core.Map json_)
: this(
containerPort: json_.containsKey('containerPort')
? json_['containerPort'] as core.int
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
protocol: json_.containsKey('protocol')
? json_['protocol'] as core.String
: null,
);