stopByName method
Stops a container by name
.
Implementation
@override
Future<bool> stopByName(String? name, {Duration? timeout}) async {
var ok = await _httpClient.getJSON('stop', parameters: {
'name': name ?? '',
if (timeout != null) 'timeout': '${timeout.inSeconds}',
}) as bool?;
return ok!;
}