SendDebugCaptureRequest.fromJson constructor

SendDebugCaptureRequest.fromJson(
  1. Map _json
)

Implementation

SendDebugCaptureRequest.fromJson(core.Map _json)
    : this(
        componentId: _json.containsKey('componentId')
            ? _json['componentId'] as core.String
            : null,
        data: _json.containsKey('data') ? _json['data'] as core.String : null,
        location: _json.containsKey('location')
            ? _json['location'] as core.String
            : null,
        workerId: _json.containsKey('workerId')
            ? _json['workerId'] as core.String
            : null,
      );