ContainerSummary.fromJson constructor

ContainerSummary.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ContainerSummary.fromJson(Map<String, dynamic> json) {
  return ContainerSummary(
    exitCode: json['exitCode'] as int?,
    reason: json['reason'] as String?,
  );
}