containers method

List<Container> containers({
  1. bool excludeStopped = false,
})

Returns a list of containers If excludeStopped is true (defaults to false) then only running containers will be returned.

Implementation

List<Container> containers({bool excludeStopped = false}) =>
    Containers().containers(excludeStopped: excludeStopped);