ContainerRestartPolicy.fromJson constructor
Deserialises from Docker's JSON representation.
Implementation
factory ContainerRestartPolicy.fromJson(Map<String, dynamic> json) =>
ContainerRestartPolicy(
name: json['Name'] as String?,
maximumRetryCount: json['MaximumRetryCount'] as int?,
);