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