PatchbayCaptureDiffRequestWire.fromJson constructor
Decodes a strict JSON object at path.
Implementation
factory PatchbayCaptureDiffRequestWire.fromJson(
Map<String, Object?> json, {
String path = r'$',
}) {
_wireKeys(json, const <String>{'beforeBlobId', 'afterBlobId'}, path);
return PatchbayCaptureDiffRequestWire(
beforeBlobId: _wireString(json['beforeBlobId'], '$path.beforeBlobId'),
afterBlobId: _wireString(json['afterBlobId'], '$path.afterBlobId'),
);
}