ContainerDetails.fromJson constructor

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

Implementation

factory ContainerDetails.fromJson(Map<String, dynamic> json) {
  return ContainerDetails(
    imageId: json['ImageId'] as String?,
    imageName: json['ImageName'] as String?,
    launchedAt: json['LaunchedAt'] as String?,
    name: json['Name'] as String?,
  );
}