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