WorkerLifecycleEvent.fromJson constructor
WorkerLifecycleEvent.fromJson(
- Map json_
Implementation
WorkerLifecycleEvent.fromJson(core.Map json_)
: this(
containerStartTime: json_.containsKey('containerStartTime')
? json_['containerStartTime'] as core.String
: null,
event:
json_.containsKey('event') ? json_['event'] as core.String : null,
metadata: json_.containsKey('metadata')
? (json_['metadata'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
);