PatchbayBlobMetadataRequestWire.fromJson constructor

PatchbayBlobMetadataRequestWire.fromJson(
  1. Map<String, Object?> json, {
  2. String path = r'$',
})

Decodes a strict JSON object at path.

Implementation

factory PatchbayBlobMetadataRequestWire.fromJson(
  Map<String, Object?> json, {
  String path = r'$',
}) {
  _wireKeys(json, const <String>{'blobId'}, path);
  return PatchbayBlobMetadataRequestWire(
    blobId: _wireString(json['blobId'], '$path.blobId'),
  );
}