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, item) => core.MapEntry(
key,
item as core.String,
),
)
: null,
);