WorkerAssignedEvent.fromJson constructor

WorkerAssignedEvent.fromJson(
  1. Map _json
)

Implementation

WorkerAssignedEvent.fromJson(core.Map _json)
    : this(
        instance: _json.containsKey('instance')
            ? _json['instance'] as core.String
            : null,
        machineType: _json.containsKey('machineType')
            ? _json['machineType'] as core.String
            : null,
        zone: _json.containsKey('zone') ? _json['zone'] as core.String : null,
      );