toJson method
Converts a ContainerStateRunning instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempStartedAt = startedAt;
if (tempStartedAt != null) {
jsonData['startedAt'] = tempStartedAt;
}
return jsonData;
}